private void btnLoopback_Unchecked(object sender, RoutedEventArgs e) { _loopback.Dispose(); _loopback = null; }
private void VoiceSettingsControl_Unloaded(object sender, RoutedEventArgs e) { if (_meter != null) { _meter.Dispose(); } if (_loopback != null) { _loopback.Dispose(); _loopback = null; } }
private void btnLoopback_Checked(object sender, RoutedEventArgs e) { _loopback = new VoiceLoopback(VoiceCodec.Gsm610, App.Settings.Current.Voice.Quality); this.SetVolume(); _loopback.Start(); }