« Return to Thread: Buffer size problem

Buffer size problem

by Jimmy Gervais :: Rate this Message:

Reply to Author | View in Thread

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


_______________________________________________
Openal mailing list
Openal@...
http://opensource.creative.com/mailman/listinfo/openal

 « Return to Thread: Buffer size problem