[futurebasic] Re: [FB] Speaker -- Default Output Volume

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2002 : Group Archive : Group : All Groups

From: Alain Pastor <apastor@...>
Date: Fri, 22 Feb 2002 18:22:40 +0100
tedd wrote:
> 
> >Just define the missing Toolbox calls:
> >
> >Toolbox fn GetDefaultOutputVolume(long * level) = OSErr `0x203C,
> >0x022C, 0x0018, 0xA800
> >Toolbox fn SetDefaultOutputVolume(long level)  = OSErr  `0x203C,
> >0x0230, 0x0018, 0xA800
> >
> >Alain
> 
> Alain:
> 
> That was too easy!!!
> 
> Where is that documented?
> 

Nowhere in FB. I found those in the Apple header files. I think the
Release 6 will have my own Sound Incl.file included in the example
folder, if I'm not mistaken. You will be able to grab almost all the
Toolbox calls you need.

-- 

Alain

-----------------------------------------------------
FB^3 in Europe:  http://euro.futurebasic.com/
FB II Pouch:     http://www.pixmix.com/FB/outils.html
-----------------------------------------------------