[Openal] Status of Linux implementation

Marian Schedenig msched at msched.no-ip.org
Thu Apr 12 18:09:43 PDT 2007


On Wednesday 11 April 2007 17:00:36 Jason Daly wrote:
> I wouldn't count this out as an option before trying it out.  You could
> create two sources, make them AL_SOURCE_RELATIVE, and position them on
> either side of the listener, then do your streaming.  It's kind of
> crude, admittedly, but it should work.

Yes, I've done that now. I've switched to a bit more low-level loading of my 
Ogg files and dynamically split stereo files into left and right buffers, 
which I then queue up simultaneously. Sounds fine so far.

I haven't yet checked if this has any notable performance impact. BUT this has 
given me another idea, namely using the manual Ogg management for dynamically 
mixing two music streams together during cue transmissions (see my other 
thread). As this is the only way I can think of right now where I could avoid 
OpenAL syncing issues (because I have to queue up a secondary cue to sync 
with the primary one when it is already playing), I'm prepared to live with a 
little performance degradation.

So - sounds good so far. If any problems comes up, I'll post more info.

Cheers,
Marian.

-- 
http://www.musgit.com | http://marian.musgit.com

Hofstadter's law: "It always takes longer than you think,
even when you take account of Hofstadter's law".


More information about the Openal mailing list