Re: Selecting Audio Default Device, using winapi
- From: "William DePalo [MVP VC++]" <willd.no.spam@xxxxxxxx>
- Date: Mon, 9 Oct 2006 11:46:17 -0400
"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
.
- Prev by Date: Re: How to play sound with video off in mci?
- Next by Date: Re: Why can't media player 6 play .CDA while media player 9 can?
- Previous by thread: Why can't media player 6 play .CDA while media player 9 can?
- Next by thread: Re: Playing an MP3 file using WaveOut functions
- Index(es):