[OpenAL]Linux Issues

Jason Daly jdaly at ist.ucf.edu
Wed Apr 25 08:05:31 PDT 2007


steve wrote:
>
> Hi:
>
> I am porting my game from XP to Linux (Ubuntu).
>
> I use openal to play multi-channel sound. I would like to thank all 
> Openal team provide such good library.
>
> Under XP, my game sound works fine.
>
> However, under linux, there are several issues.
>
> First, 3D sound source doesn't play at all. My background music 
> (stereo wav) seems not to be looped. When I unloaded the music and 
> reload it again, I couldn't hear the sound.
>
> Short stereo wav files work fine.
>
> The Openal library didn't report any error.
>
> Could someone help me on these issues?
>
> Would someone tell me if openal Linux version is stable?
>

It's relatively stable, although the Linux implementation has yet to 
come up with a formal stable release policy.  More to the point, not all 
of the OpenAL 1.1 features are implemented yet.  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).

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.

--"J"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20070425/0c7838c7/attachment.html


More information about the Openal mailing list