« Return to Thread: Get current volume for a source

Re: Get current volume for a source

by The Big Uno :: Rate this Message:

Reply to Author | View in Thread

One final question - I have not been able to find the query / function to grab the actual raw buffer data at a given point.  I assume it will be one of the alGetBuffer[i|f][v?] functions, but I can't figure out what the query parameter should be.  Not knowing what the OpenAL terminology for this is, I have not been able to find the right parameter.  Any suggestions would be most welcome.

Thanks again for all your help!

Cheers



On Mon, Jun 8, 2009 at 12:03 PM, Jason Daly <jdaly@...> wrote:
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"


_______________________________________________
Openal mailing list
Openal@...
http://opensource.creative.com/mailman/listinfo/openal

 « Return to Thread: Get current volume for a source