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

hi, how can I browse and select the directsound devices

Apr 11, 2011 at 5:56 AM

I've seems found you have a little patch before to let me select the device to play.

But, How can I browse and let me know what devices i can use and get its IntPtr pointer?

Apr 14, 2011 at 2:52 PM

I've checked in a modification that allows easier selection of DirectSound output devices. Have a look at the latest NAudioDemo to see it in action

Apr 16, 2011 at 4:38 PM

the where is the "Default device" in the DS and waveout API?

Apr 16, 2011 at 7:20 PM

WaveOut default device is 0 (i.e. don't make any changes). For DirectSound default device, just call the default constructor without specifying a device.

Apr 17, 2011 at 4:49 AM

But I've ever seen some api or softwares such like portaudio, winamp and foobar etc, have shown one item named seems like "Main Audio Device Driver" in waveout and DS, and this name would be auto shown in different languages in the OS of different languages. So this options should be loaded from the OS, and not from the API, components or softwares.

Then how can I use it?

Apr 18, 2011 at 4:28 PM

I don't think they get the name "default device" from the OS. If they do, I don't know how it is done.