[Openal-devel] Get part of a source / buffer
Chris Robinson
chris.kcat at gmail.com
Mon May 25 10:16:05 PDT 2009
On Monday 25 May 2009 9:53:24 am Niall09 wrote:
> Im trying alBufferData(buffer, AL_FORMAT_STEREO16,data,frames*channels*2,
> freq) but when i run it, i get a error:
>
> malloc: *** mmap(size=3143925760) failed (error code=12)
> *** error: can't allocate region
>
> and when i debug it, by making it output the frames*channels and
> frames*channels*2 to the console, frames*channels is 1571962880 (frames is
> 5292032 and channels is 4355) and frames*channels*2 is -1151041536.
How are you setting the frames/channels/freq/data variables?
More information about the Openal-devel
mailing list