This project has moved. For the latest updates, please go here.

NAudio ASIO

Feb 10, 2015 at 6:41 PM
I using ASIO NAudio in a network application. I need float[] to byte[] for ASIO Record data.

asioOut.InitRecordAndPlayback(null, 1, 44100);
asioOut.AudioAvailable += AsioAudioAvailable;
asioOut.Play();

private void AsioAudioStreamAvailable(object sender, AsioAudioAvailableEventArgs e)
{
e.GetAsInterleavedSamples();

}

i need float[] (e) to byte[] (PCM16BIT)...

please help me...
Coordinator
Feb 12, 2015 at 8:01 PM
hi, have a read of my article on how to convert between various audio formats. It should point you in the right direction