public AudioHardwareSession(IVoipCodec codec)
 {
     this.codec = codec;
     TriggerInput = new Settings.ControlBinding { KeyboardKey = System.Windows.Input.Key.LeftCtrl };
 }
 public MixingWaveProvider(int sampleRate, IVoipCodec decoder)
 {
     _decoder = decoder;
     _freeDecoders.Add(decoder);
     _waveFormat = new WaveFormat(sampleRate, 16, 1);
 }