[Openal] Sync sources
Yannick
ian4all75 at gmail.com
Thu Mar 5 15:00:16 PST 2009
Hi,
I was looking for information how to sync several sources and I came into
the following posts from March 2004:
http://opensource.creative.com/pipermail/openal/2004-March/007357.html
<http://opensource.creative.com/pipermail/openal/2004-March/007357.html>
http://opensource.creative.com/pipermail/openal/2004-March/007360.html
That part was very interesting:
=============
> Question 1: What options if any are available if any to synchronize
> playback of samples?
...
> For example: can I play two samples at
> *exactly* the same time, can I then play a third sample at the exact
> time the first two samples loop? My initial impression is that this is
> not possible elegantly?
You can ask that two or more sources start playing at the same time by
using the alSourcePlayv call, handing in a vector to multiple sources.
The individual implementation may or may not be able to actually start all
the sources at _exactly_ the same time, but it will be close.
The "playing a third sample at the exact time the first two samples loop"
case can't be handled in an elegant way at this time -- you're going to
end up with imprecise (not sample accurate) timing no matter what you do.
=============
Could someone tell me if this kind of issue can be solved now ?
I'm new to OpenAL and I would appreciate some hints if any.
Thanks.
--
ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20090306/ba9735dd/attachment.html
More information about the Openal
mailing list