[Openal] Buffer size problem

Jimmy Gervais jimbo8086 at gmail.com
Fri Jul 3 11:05:00 PDT 2009


Hi,

I created a simple program to experiment with OpenAl before getting into
more serious work. The program generates white noise. The problem is that it
crashes when the buffer size is higher than about 280'000, sometimes less. I
tested in MONO16 and STEREO16, it makes no difference. The size variable is
of ALsizei type, and everything else also follows AL "standard". I looked on
the Internet to see what was the max size, and read 1GB. It hangs at
alBufferData(), but sometimes it gets over it without making any sound. I
really don't get it.

I'm on a HP laptop working with 3GB of RAM, AMD Turion X2 64 2GHz, vista 32
bits.

Any hint would be much appreciated. Thank you!

Jimmy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20090703/72e493cd/attachment.html


More information about the Openal mailing list