byte[] IHDMIConnection.StreamVideoAndAudio()
        {
            IHDMIConnection device = this.hdmiConnections[this.currentSource];

            if (this.power && device != null)
            {
                byte[] result = device.StreamVideoAndAudio();

                if (connectedSpeakers != null)
                {
                    connectedSpeakers.MakeSomeNoise(result);
                }

                return(result);
            }
            else
            {
                return(new byte[] { });
            }
        }
示例#2
0
 internal void PlugIn(IHDMIConnection input)
 {
     this.connectedDevice = input;
 }
 internal void PlugIn(int slot, IHDMIConnection input)
 {
     this.hdmiConnections[slot - 1] = input;
 }
示例#4
0
 public void PlugIn(IHDMIConnection input)
 {
     this.connectedDevice = input;
 }