[Openal] Implementing an adjustable master volume

Jason Daly jdaly at ist.ucf.edu
Thu May 15 08:09:21 PDT 2008


Chris Robinson wrote:
>> If the OpenAL gain is indeed affected by OS volume controls, what is the
>> best way to handle this? Implement OS specific code to control the OS
>> mixer controls or is there a general way of doing this?
>>     

OpenAL has no mixer API, and I don't know of any cross-platform solution 
for controlling the OS mixer (though that doesn't mean there isn't one).

So, yes you'd probably have to implement OS-specific code to handle this.

I do tend to agree with Chris, though.  The app shouldn't be messing 
with the OS mixer, unless there's a really good reason for it.

--"J"



More information about the Openal mailing list