[Openal] openal output timing

Daniel danflu at uninet.com.br
Sat Feb 28 08:57:06 PST 2009


Hi,

Can I use AL_SAMPLE_OFFSET to estimate the exact time the next sample I 
put in the openal queue will  by heard in the loudspeakers ?

If not, how can it be done to achieve the minimum error ?  How many 
miliseconds is this error supposed to be ?

I'm asking about AL_SAMPLE_OFFSET because AL_SEC_OFFSET  always returns 
zero, and i think i can simply convert between samples to seconds.

Thanks in advance,
Daniel




More information about the Openal mailing list