[Openal] Get current volume for a source
The Big One
the.big.uno at gmail.com
Mon Jun 8 16:42:53 PDT 2009
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 at ist.ucf.edu> 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"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20090608/d9262055/attachment.html
More information about the Openal
mailing list