Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: Which API would I use to change the Audio Playback Device?

HTVi
TV Discussion Newsgroups

Which API would I use to change the Audio Playback Device?
Richard Pressler 12/1/2008 1:13:49 AM
Depending on whether it's a late Saturday night and I'm doing some gaming, or
a day home alone when I want to listen to music, I change my audio device
frequently. I'd like to automate the following process on Windows XP:

Control Panel->Sounds and Audio Devices->Audio Tab->Sounds and Playback Device

I don't need anyone to walk me through it, I'm just wondewring which API to
use?

Thanks,
Richard
Re: Which API would I use to change the Audio Playback Device?
"Roman Ryl..." <ryltsov[ at ]gmail.com> 12/1/2008 8:09:22 AM
Richard,

[Quoted Text]
> Depending on whether it's a late Saturday night and I'm doing some gaming, or
> a day home alone when I want to listen to music, I change my audio device
> frequently. I'd like to automate the following process on Windows XP:
>
> Control Panel->Sounds and Audio Devices->Audio Tab->Sounds and Playback Device
>
> I don't need anyone to walk me through it, I'm just wondewring which API to
> use?

On XP you should be able to use DRVM_MAPPER_PREFERRED_SET message
http://msdn.microsoft.com/en-us/library/aa908376.aspx sent via
waveOutMessage.

Roman

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen