« Return to Thread: Crashing when calling alDeleteBuffers

Re: Crashing when calling alDeleteBuffers

by Stephen A. :: Rate this Message:

Reply to Author | View in Thread

On Sun, Jul 5, 2009 at 7:41 AM, Chris Robinson <chris.kcat@...> wrote:
On Saturday 04 July 2009 7:37:38 pm fungos wrote:
> I'm streaming an ogg music to the openal and if I do an unload and
> load another music it works, but when I call the same unload method
> from window close event (before any openal deinit) it crashes inside
> openal alDeleteBuffers when trying to "free" the second buffer data
> (and I don't found if it is really related to closing window it is
> just the way I can reproduce).

I have seen this happen when the buffers aren't allocated through alGenBuffers. I don't know if this is allowed by the specs but Creative's drivers seem to ignore this silently, while OpenAL Soft is more strict.
 


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

 « Return to Thread: Crashing when calling alDeleteBuffers