Can you point me in the right direction, Is there an API to mute the sound? Like the sound control progam uses. Thanks.
Can you point me in the right direction, Is there an API to mute the sound? Like the sound control progam uses. Thanks.
auxSetVolume() or waveOutSetVolume()
You'll have to do other work to get handles to pass to those APIs, just read all the help.
Include windows.h and link against Winmm.lib (or .a).
gg
mixerOpen(),
mixerGetControlDetails(),
mixerSetControlDetails(),
mixerClose()
will let you mute individual sound sources or all sound. FWIW.
Finer-grained control.
Start here:
http://msdn.microsoft.com/library/de..._mixeropen.asp