This project has moved and is read-only. For the latest updates, please go here.

WinRT capture audio

Nov 27, 2014 at 4:18 PM
Edited Nov 28, 2014 at 4:07 PM

I am trying to convert my previous project that was using NAudio to run on winRT

for WaveOut I simply converted output to use NAudio.Win8.Wave.WaveOutputs.WasapiOutRT and the rest of it was almost the same.

Previously I had:
WaveIn waveIn = new WaveIn();
waveIn.BufferMillisecond = 60;
waveIn.DeviceNumber = 0;
waveIn.WaveFormat = new WaveFormat(8000, 16, 1);
waveIn.DataAvalible += waveIn_DataAvalible;
Any suggestions how to do this in Win RT ?