Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Programmatically enable/disable a playback device in Windows 7

by bulk88 (Priest)
on Nov 09, 2012 at 04:32 UTC ( #1003058=note: print w/ replies, xml ) Need Help??


in reply to Programmatically enable/disable a playback device in Windows 7

I did further research. For WinXP/2000, for "Sound Playback" "Default Device" combo box http://www.sennheisercommunications.com/sennheiser/globals.nsf/resources/Sounds_and_audio_devices_properties.jpg/$File/Sounds_and_audio_devices_properties.jpg . You use waveOutMessage in C with DRVM_MAPPER_PREFERRED_SET (it is 0x2016 for desktop winxp) and a -1 for the deviceid argument, the lparam and wparam also have to be filled. That is how the MS sound CP applet works. Google says that does not work for NT 6.


Comment on Re: Programmatically enable/disable a playback device in Windows 7

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003058]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2014-07-31 08:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (245 votes), past polls