[Openal] Buffer size problem
Zarnick Maelstorm
zarnick at geekvault.org
Fri Jul 3 11:10:58 PDT 2009
Are you sure you're not leaking any kind of memory in the process? Could you
post some code?
Zarnick
http://www.geekvault.org
On Fri, Jul 3, 2009 at 3:05 PM, Jimmy Gervais <jimbo8086 at gmail.com> wrote:
> 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 at opensource.creative.com
> http://opensource.creative.com/mailman/listinfo/openal
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20090703/7cb7dddb/attachment.html
More information about the Openal
mailing list