[Openal] Get current volume for a source

Jason Daly jdaly at ist.ucf.edu
Mon Jun 8 11:03:50 PDT 2009


The Big Uno wrote:
> Hmm, please disregard my previous comment - it appears that JOAL has 
> AL_*_OFFSET queries defined, so it must be using 1.1.  I must have been 
> looking at outdated documentation when I read that it was 1.0 only.
>   

Glad you've got something that works  :-)


> I am not sure about the methods alGet*v, though - from the documentation 
> it appears that these are for querying global parameters, as they don't 
> appear to accept a source pointer as a parameter (page 22, OpenAL 1.1 
> Specification).  alGetSourcei seems to be more suited to this, and 
> appears to work from my initial tests.

Sorry, you're absolutely right.  Those values are source queries, not 
global queries.  My mistake.

--"J"


More information about the Openal mailing list