Ejemplo n.º 1
0
 public static void ClearOutgoingConnections(this IPlayback playback)
 {
     foreach (var audioDevice in playback.OutgoingConnections.ToArray())
     {
         playback.RemoveOutgoingConnection(audioDevice);
     }
 }
Ejemplo n.º 2
0
        public void RemoveOutgoingConnection(IOutputAudioDevice audioDevice)
        {
            OutgoingConnections.Remove(audioDevice);

            _playback?.RemoveOutgoingConnection(audioDevice);
        }