Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by bulk88 (Priest)
on Nov 08, 2012 at 16:31 UTC ( #1002944=note: print w/ replies, xml ) Need Help??


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

winmm.dll or msacm32.dll probably have what you are looking for. I only have NT 5 machines not NT 6. I don't understand exactly, GUI with a mouse wise, what you are trying to do. Can you post some links to images of the screens you want to manipulate? If it doesn't appear in Device Manager, it won't appear in devcon.

Look for some C code that claims to do what you want, then look for perl or code that contains the same function name.


Comment on Re: Programmatically enable/disable a playback device in Windows 7
Re^2: Programmatically enable/disable a playback device in Windows 7
by thmsdrew (Scribe) on Nov 08, 2012 at 17:26 UTC

    This is the screen I'm talking about. If I want to hear sound out of just my speakers, I have to enable "Speakers" and disable "Headphones". If I want to hear sound out of just my headphones, I have to enable "Headphones" and disable "Speakers". (Right-click -> enable/disable).

    They both use the HDAUDIO device.

    I'll look into those libraries you gave.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2014-09-20 20:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (161 votes), past polls