« Return to Thread: Bug in alut

Re: Bug in alut

by Jason Daly :: Rate this Message:

Reply to Author | View in Thread

neXyon wrote:

> Hi there!
>
> I've found a bug that prevents older applications using the depricated
> alut function alutLoadWAVMemory of the current freealut version to load
> the sound.
>
> In the file alutLoader.c in the function mentioned above you have the
> bug on line 478, where it says
>
> _alutLoadMemoryFromInputStream (stream, format, size, &freq);
>
> which should be
>
> *data = _alutLoadMemoryFromInputStream (stream, format, size, &freq);
>
> to actually use the loaded sample data.
>
> I attached a patch which fixes the bug.
>  

Thanks for the patch!  It's committed

--"J"

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

 « Return to Thread: Bug in alut