internal void SetPlayMode(DvAVTransport.Enum_CurrentPlayMode NewMode)
 {
     CurrentPlayMode = NewMode;
     if (OnCurrentPlayModeChanged != null)
     {
         OnCurrentPlayModeChanged(this);
     }
 }
Ejemplo n.º 2
0
 protected void SetPlayModeSink(System.UInt32 InstanceID, DvAVTransport.Enum_CurrentPlayMode NewPlayMode)
 {
     if (ID_Table.ContainsKey(InstanceID) == false)
     {
         throw(new UPnPCustomException(802, InstanceID.ToString() + " is not a valid InstanceID"));
     }
     else
     {
         AVConnection c = (AVConnection)ID_Table[InstanceID];
         c.SetPlayMode(NewPlayMode);
     }
 }
Ejemplo n.º 3
0
 protected void GetTransportSettingsSink(System.UInt32 InstanceID, out DvAVTransport.Enum_CurrentPlayMode PlayMode, out DvAVTransport.Enum_CurrentRecordQualityMode RecQualityMode)
 {
     if (ID_Table.ContainsKey(InstanceID) == false)
     {
         throw(new UPnPCustomException(802, InstanceID.ToString() + " is not a valid InstanceID"));
     }
     else
     {
         AVConnection c = (AVConnection)ID_Table[InstanceID];
         PlayMode       = c._CurrentPlayMode;
         RecQualityMode = c._CurrentRecMode;
     }
 }