detecting volume mute in windows

  • Thread starter Thread starter vinnycoyne
  • Start date Start date
V

vinnycoyne

Hi there,

I am implementing a mute button on my application which successfully
changes the mute status of the mixer in windows. I would like to know
if there is a way to detect the mixer being muted from outside the app
(by the user or another program), so I can display this in my own app.
Is there some windows message which is broadcast when a mixer is muted?

Thanks,

Vinny.
 
I am implementing a mute button on my application which successfully
changes the mute status of the mixer in windows. I would like to know
if there is a way to detect the mixer being muted from outside the app
(by the user or another program), so I can display this in my own app.
Is there some windows message which is broadcast when a mixer is muted?

If you have maintain a handle to the mixer and have specified a callback
window you should get a

MM_MIXM_CONTROL_CHANGE

or a

MM_MIXM_LINE_CHANGE

message when the user fiddles with its settings. I'd suggest that you open
up the Windows SPY utility, mute and unmute the line and see what messages
you get.

You should post any follow-up in the group

microsoft.public.win32.programmer.mmedia

and hope for a reply from Chris. <g>

Regards,
Will
 
Thanks, really appreciate the help.

Vinny

If you have maintain a handle to the mixer and have specified a callback
window you should get a

MM_MIXM_CONTROL_CHANGE

or a

MM_MIXM_LINE_CHANGE

message when the user fiddles with its settings. I'd suggest that you open
up the Windows SPY utility, mute and unmute the line and see what messages
you get.

You should post any follow-up in the group

microsoft.public.win32.programmer.mmedia

and hope for a reply from Chris. <g>

Regards,
Will
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Excel Macro to un-mute Audio/speakers. 15
Mute all 1
Win32 Beep does not work in XP64 1
can "mute" be toggled? 22
Volume control won't open 2
Microphone muting in Vista 2
DreamScene sound 1
Mic Mute/Unmute Button 3

Back
Top