🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Mute the volume

#9614
From: Bob Gonder
Date: Wed, 23 Jun 2004 20:33
14 lines
1342 bytes
Michel Leunen wrote:

>Christophe Minetti wrote:
>
>> Is there any API function that I can call to mute the volume ?
>
>Look at waveOutSetVolume() in the multimedia API (MM.hlp)

I'd go with that first, then maybe look at DirectSound

Listed on MSDN:
IDirectSoundBuffer8::SetVolume
in dsound.h
#define IDirectSoundBuffer_SetVolume(p,a) 
Technical Details
Message-ID: <d1qjd09d0chcnesj92etjc802m6294lid4@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40D999EB.FAEB5770@ulb.ac.be> <40d9d4c1$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,dd4a7ddbfd5dccac
X-Google-Attributes: gid10cc67,public
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Mute the volume
Date: Wed, 23 Jun 2004 13:33:12 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <d1qjd09d0chcnesj92etjc802m6294lid4@4ax.com>
References: <40D999EB.FAEB5770@ulb.ac.be> <40d9d4c1$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 65.173.66.198
X-Trace: newsgroups.borland.com 1088022821 65.173.66.198 (23 Jun 2004 13:33:41 -0700)
Lines: 16
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail