mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-12 03:05:01 +00:00
Adds Virtual Dm Tx Controller classes to handle Dmps inputs with mutliple connectors and auto switching. Completes DmpsRoutingController (requires testing)
This commit is contained in:
@@ -48,6 +48,26 @@ namespace PepperDash.Essentials.DM
|
||||
};
|
||||
}
|
||||
|
||||
public static VideoStatusFuncsWrapper GetVgaInputStatusFuncs(VgaDviInputPort port)
|
||||
{
|
||||
return new VideoStatusFuncsWrapper
|
||||
{
|
||||
HdcpActiveFeedbackFunc = () => port.VideoAttributes.HdcpActiveFeedback.BoolValue,
|
||||
HdcpStateFeedbackFunc = () => port.VideoAttributes.HdcpStateFeedback.ToString(),
|
||||
VideoResolutionFeedbackFunc = () => port.VideoAttributes.GetVideoResolutionString(),
|
||||
VideoSyncFeedbackFunc = () => port.SyncDetectedFeedback.BoolValue
|
||||
};
|
||||
}
|
||||
|
||||
public static VideoStatusFuncsWrapper GetBncInputStatusFuncs(Component port)
|
||||
{
|
||||
return new VideoStatusFuncsWrapper
|
||||
{
|
||||
VideoResolutionFeedbackFunc = () => port.VideoAttributes.GetVideoResolutionString(),
|
||||
VideoSyncFeedbackFunc = () => port.VideoDetectedFeedback.BoolValue
|
||||
};
|
||||
}
|
||||
|
||||
public static VideoStatusFuncsWrapper GetDmInputStatusFuncs(DMInputPort port)
|
||||
{
|
||||
return new VideoStatusFuncsWrapper
|
||||
|
||||
Reference in New Issue
Block a user