void InputStreamChangeEvent(EndpointInputStream inputStream, EndpointInputStreamEventArgs args)
        {
            Debug.Console(2, "{0} event {1} stream {2}", this.Tx.ToString(), inputStream.ToString(), args.EventId.ToString());

            if (args.EventId == EndpointInputStreamEventIds.HdcpSupportOffFeedbackEventId)
            {
                if (inputStream == Tx.HdmiInputs[1])
                {
                    HdmiIn1HdcpCapabilityFeedback.FireUpdate();
                }
                else if (inputStream == Tx.HdmiInputs[2])
                {
                    HdmiIn2HdcpCapabilityFeedback.FireUpdate();
                }
            }
            else if (args.EventId == EndpointInputStreamEventIds.HdcpSupportOnFeedbackEventId)
            {
                if (inputStream == Tx.HdmiInputs[1])
                {
                    HdmiIn1HdcpCapabilityFeedback.FireUpdate();
                }
                else if (inputStream == Tx.HdmiInputs[2])
                {
                    HdmiIn2HdcpCapabilityFeedback.FireUpdate();
                }
            }
        }
Exemple #2
0
        void DisplayPortInputStreamChangeEvent(EndpointInputStream inputStream, EndpointInputStreamEventArgs args)
        {
            Debug.Console(2, "{0} event {1} stream {2}", Tx.ToString(), inputStream.ToString(), args.EventId.ToString());

            switch (args.EventId)
            {
            case EndpointInputStreamEventIds.SyncDetectedFeedbackEventId:
                DisplayPortVideoSyncFeedback.FireUpdate();
                break;
            }
        }
Exemple #3
0
        void InputStreamChangeEvent(EndpointInputStream inputStream, EndpointInputStreamEventArgs args)
        {
            Debug.Console(2, "{0} event {1} stream {2}", Tx.ToString(), inputStream.ToString(), args.EventId.ToString());

            switch (args.EventId)
            {
            case EndpointInputStreamEventIds.HdcpSupportOffFeedbackEventId:
                HdmiInHdcpCapabilityFeedback.FireUpdate();
                break;

            case EndpointInputStreamEventIds.HdcpSupportOnFeedbackEventId:
                HdmiInHdcpCapabilityFeedback.FireUpdate();
                break;

            case EndpointInputStreamEventIds.SyncDetectedFeedbackEventId:
                HdmiVideoSyncFeedback.FireUpdate();
                break;
            }
        }
        void InputStreamChangeEvent(EndpointInputStream inputStream, EndpointInputStreamEventArgs args)
        {
            Debug.Console(2, "{0} event {1} stream {2}", this.Tx.ToString(), inputStream.ToString(), args.EventId.ToString());

            switch (args.EventId)
            {
            case EndpointInputStreamEventIds.HdcpSupportOffFeedbackEventId:
                if (inputStream == Tx.HdmiInputs[1])
                {
                    HdmiIn1HdcpCapabilityFeedback.FireUpdate();
                }
                if (inputStream == Tx.HdmiInputs[2])
                {
                    HdmiIn2HdcpCapabilityFeedback.FireUpdate();
                }
                break;

            case EndpointInputStreamEventIds.HdcpSupportOnFeedbackEventId:
                if (inputStream == Tx.HdmiInputs[1])
                {
                    HdmiIn1HdcpCapabilityFeedback.FireUpdate();
                }
                if (inputStream == Tx.HdmiInputs[2])
                {
                    HdmiIn2HdcpCapabilityFeedback.FireUpdate();
                }
                break;

            case EndpointInputStreamEventIds.SyncDetectedFeedbackEventId:
                if (inputStream == Tx.HdmiInputs[1])
                {
                    Hdmi1VideoSyncFeedback.FireUpdate();
                }
                if (inputStream == Tx.HdmiInputs[2])
                {
                    Hdmi2VideoSyncFeedback.FireUpdate();
                }
                break;
            }
        }