[Openal] Latency / Buffer size (Linux)

Thomas Hammer thammer at sim.no
Thu Apr 21 04:00:53 PDT 2005


Jean-Yves Lamoureux / Frob wrote:
 > Thomas Hammer wrote:
 >
 >> Wild guess: try setting the buffer size to a multiple of 4096 and see
 >> what happens.
 >
 >
 > File is already 4096 bytes aligned.

Just so we agree on which buffers we're talking about. I'm talking about 
the OpenAL buffer length, for example:

int buffersize = 10 * 4096 * sizeof(int16_t) * numchannels;
alBufferData(bufferid, format, buffer, buffersize, samplerate);

But the bug has probably be fixed.

.Thomas



More information about the Openal mailing list