[OpenAL]Linux Issues

Marian Schedenig msched at msched.no-ip.org
Wed Apr 25 13:03:45 PDT 2007


On Wednesday 25 April 2007 17:05:31 Jason Daly wrote:
> One issue, as you
> found, is that multi-channel buffers aren't supported, and stereo
> buffers don't follow the proper behavior as detailed in the
> specification (in the current Linux SI, stereo buffers are downmixed to
> mono and treated like any other mono buffer).

You can work around this though by manually splitting the audio file on 
loading and playing the two (or more) separated mono files through two 
different sources. I have successfully played stereo music on my linux box 
that way, and since I intend to do some music mixing/fading and thus have to 
manually load my Ogg files anyway, the additional work for it is rather 
small.

> I'm not sure why your background music buffer isn't looped properly,
> there shouldn't be any difference between short buffers and long buffers.

As far as I remember, I used to have problems when setting up source 
properties in the "wrong" order; they would not all be applied if I changed 
the order. Perhaps shifting them around a bit (or setting non-used properties 
to default values) might help.

Hope this helps,
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