Re: Selecting Audio Default Device, using winapi



"xwskx" <xwskx@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BFC894AB-9AAD-4A76-9ED1-2247BC9D7CF5@xxxxxxxxxxxxxxxx
I'm trying to find a way to set the default audio device, using winapi
functions.
I'm currently using the mixer functions to enumerate through the devices,
but i can't find a way to select the audio device as default.

On all but really old platforms, you can get the ID of the default devices
as shown here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/audio_d/hh/Audio_d/pcdesign_0a89095e-33c9-4d6e-96ff-68300219682e.xml.asp

and then open them in the standard way.

Thanks in Advance.

You are welcome after the fact. :-)

Regards,
Will


.