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

NAudio Multiple audio out

Nov 21, 2012 at 12:14 PM


    In NAudio from where you are calling

public AudioPlaybackPanel([ImportMany]IEnumerable<IOutputDevicePlugin> outputDevicePlugins)


I want to play multiple sound in same time in different sound card. how you get "outputDevicePlugins" value, when the constructor is called. How can I choose audio device using NAudio without User Control.

I was trying this from last 2 month please tell the solution that you have did in NAudio.Thanks in advance.


Nov 21, 2012 at 12:35 PM

To play sound in multiple soundcards, you need an output device per soundcard. So for example create two instances of WaveOut, and set the DeviceNumber property on each one.



Nov 21, 2012 at 1:28 PM


   In NAudio how I get output device and set device number...


Thanks & Regards,


Nov 21, 2012 at 1:35 PM

var outputDevice = new WaveOut()
outputDevice.DeviceNumber = 1;

Nov 21, 2012 at 4:08 PM

Thankyou I got the solution.

Nov 22, 2012 at 5:47 AM
Edited Nov 22, 2012 at 5:53 AM


   Thanks for your quick response.