• Welcome to Powerbasic Museum 2020-B.
 

News:

Forum in repository mode. No new members allowed.

Main Menu

Muting?

Started by Gérôme Guillemin, November 25, 2009, 09:55:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gérôme Guillemin

Hello !

Does anyone know of any way to programmatically mute the computer's speakers without affecting the level of incoming audio stream so that a recording process (like sndrec32) may proceed unaffected while the speakers are turned off without the use of Windows' built-in Volume Control?

Thanks for any reply !

Yours,
Gerome

Patrice Terrier

Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Mike Lobanovsky

What a pity this solution seems to be platform-dependent (Vista and up only, I presume...)
Mike
(3.6GHz Intel Core i5 w/ 16GB RAM, 2 x GTX 650Ti w/ 2GB VRAM, Windows 7 Ultimate Sp1)

Patrice Terrier

On older system like XP and previous, you will have to use the MIXER API, or the DirectSound API.

...
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Mike Lobanovsky

Thanks Patrice,

This gives the general direction to some further thought.
Mike
(3.6GHz Intel Core i5 w/ 16GB RAM, 2 x GTX 650Ti w/ 2GB VRAM, Windows 7 Ultimate Sp1)