views:

58

answers:

0

Hi !

I use alutLoadMemoryFromFileImage to convert a wav file that lies in memory to data that can be used in OpenAL. The docu says, the returned data is only malloced and can simply be freed afterwards, but when I try that, my application crashes.

Can someone explain this to me or show me an example of how to use alutLoadMemoryFromFileImage with free correctly?

Thanks Marc