private void OnAudioInput(NAudio.Wave.IWaveBuffer data) { if (m_audioOutput != null) { // send recorded audio to speakers m_audioOutput.Send(data.ByteBuffer); } }
private void OnAudioInputHandler(IBuffer buffer) { //Debug.WriteLine("OnAudioInputHandler: " + buffer.Length); m_audioOutput.Send(buffer); }