Ejemplo n.º 1
0
        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)
            {
                HdmiInHdcpCapabilityFeedback.FireUpdate();
            }
            else if (args.EventId == EndpointInputStreamEventIds.HdcpSupportOnFeedbackEventId)
            {
                HdmiInHdcpCapabilityFeedback.FireUpdate();
            }
        }
Ejemplo n.º 2
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;
            }
        }