🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #12906

Re: Mute sound api

#12906
From: Chris Hill
Date: Thu, 13 Nov 2003 09:06
16 lines
1344 bytes
On Wed, 12 Nov 2003 16:58:46 -0800, "Martin C" <martinc@aol.com>
wrote:

>Hi all,
>
>Is there any api function I can use to mute/ un-mute the windows sound..
>
>thanks in advance

Yes, see the mixer* functions.  These allow you to get/set the value
of the "Volume Control" line's "Master Mute" control.  You ultimately
want to call mixerSetControlDetails, but you need to call other mixer
functions to determine the appropriate controlID to use.

Chris Hill
Chris244@aol.com
Technical Details
Message-ID: <3fb341a7.901036141@forums.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.freenet.de!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3fb2d747@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,b43efb3e43c5ee4f
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-13 01:06:59 PST
From: Chris244@aol.com (Chris Hill)
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Mute sound api
Date: Thu, 13 Nov 2003 09:06:08 GMT
Message-ID: <3fb341a7.901036141@forums.borland.com>
References: <3fb2d747@newsgroups.borland.com>
X-Newsreader: Forte Free Agent 1.21/32.243
NNTP-Posting-Host: 12.221.66.183
X-Trace: newsgroups.borland.com 1068714367 12.221.66.183 (13 Nov 2003 01:06:07 -0700)
Lines: 16
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.freenet.de!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail