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

            _playback?.RemoveOutgoingConnection(audioDevice);
        }