Пример #1
0
 private void OnAudioInput(NAudio.Wave.IWaveBuffer data)
 {
     if (m_audioOutput != null)
     {
         // send recorded audio to speakers
         m_audioOutput.Send(data.ByteBuffer);
     }
 }
Пример #2
0
 private void OnAudioInputHandler(IBuffer buffer)
 {
     //Debug.WriteLine("OnAudioInputHandler: " + buffer.Length);
     m_audioOutput.Send(buffer);
 }