[OpenAL]Linux Play back Lag Issue
Jason Daly
jdaly at ist.ucf.edu
Fri Apr 27 08:31:10 PDT 2007
steve wrote:
> Hi:
> I have another problem on Linux. When my game loads a mesh and plays sound.
> It sounds jerkily. I wonder if Openal creates another thread to play sound ?
> Does openal play sound smoothly when the application is busy on Linux? My
> game doesn't have this problem on XP.
>
Unless you specifically create the context with AL_SYNC, there will be a
thread spawned to handle the mixing. I use OpenAL all the time under
Linux and don't have this problem.
Are you using buffer queues, or just a single buffer? If you're
queueing buffers, it's up to your application to make sure the source
always has at least one buffer queued to keep the sound from skipping.
--"J"
More information about the Openal
mailing list