🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.multimedia
3 messages
3 total messages Started by tichy Sun, 30 May 2004 20:05
How to set volume?
#456
Author: tichy
Date: Sun, 30 May 2004 20:05
10 lines
1277 bytes
my proggy uses DirectSound to play samples. I can decrease sample volume in
buffer but can not amplify it. So I have to use system mixer do increase it.
I have searched in list archiv and on Borland`s sources but found nothing
except  Julian Bunn  julianb@altavista.net example that explains nothing.
This is not standalone example and I can`t see how it works.
Can someone explain me what to do to set volume of mixer`s line.
(Step by step).
-- 
Andrzej Kry�ski
http:\\tichy.fm.interia.pl
Re: How to set volume?
#457
Author: tichy
Date: Mon, 31 May 2004 08:52
5 lines
976 bytes
supplement: I don`t mean waveOutSetVolume() , wave interface routine, rather
mixerSetControlDetails(...)
-- 
Andrzej Kry�ski
http:\\tichy.fm.interia.pl
Re: How to set volume?
#460
Author: Mark Jacobs
Date: Tue, 01 Jun 2004 11:47
16 lines
1552 bytes
"tichy" <tichy@pocztafm> wrote in message news:40baf244@newsgroups.borland.com...
> supplement: I don`t mean waveOutSetVolume() , wave interface routine, rather
> mixerSetControlDetails(...)

This involves evaluating all mixer controls and detecting the relevant one(s) to change. An excellent free
example with all the code (in Delphi) can be found here :-
http://www.fi.muni.cz/~xkovalc/zip/amixer.zip

I got this from www.fi.muni.cz/~xkovalc

HTH,
-- 
Mark Jacobs
DK Computing
http://www.dkcomputing.co.uk
markj atty critical dotty co dotty uk
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads