[openal] Synchronizing 3D sources
Doug Binks
doug at enkisoftware.com
Fri Jan 24 08:14:43 EST 2014
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.
On 24 January 2014 13:44, Chris Robinson <chris.kcat at gmail.com> wrote:
> On 01/24/2014 04:34 AM, Doug Binks wrote:
>
>> Makes sense. Since this needs new code for atomically getting a device
>> timer etc., also adding code for this shouldn't be too much of an extra
>> problem although it does add to device maintenance costs.
>>
>
> It should be fine to just add another field to ALCdevice, something like
> ALuint64 SamplesMixed;
> which would be initialized to 0 and incremented in aluMixData. Then when
> the clock time is queried, convert it using the device frequency.
>
> _______________________________________________
> openal mailing list
> openal at openal.org
> http://openal.org/mailman/listinfo/openal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openal.org/pipermail/openal/attachments/20140124/9f4debd0/attachment-0001.html>
More information about the openal
mailing list