[openal] Synchronizing 3D sources

Chris Robinson chris.kcat at gmail.com
Fri Jan 24 08:22:25 EST 2014


On 01/24/2014 05:14 AM, Doug Binks wrote:
> Sounds good - presumably there are no current plans to add a device output
> frequency change to the spec, but can always change the code at that point
> if needed.

Hmm, that's a good point, actually. The playback frequency can change if 
a new context is created and specifies an ALC_FREQUENCY attribute.

In that case, a better option would be to store the clock time in the 
device, instead of the samples mixed. Then you'd increase the clock time 
in aluMixData by converting the number of samples to mix into a time 
increment.


More information about the openal mailing list