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
 
Back
Top