Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by bulk88 (Priest)
on Nov 08, 2012 at 16:31 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1002944]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-25 12:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found