[Openal] ALUT import for different wav formats
Chris Robinson
chris.kcat at gmail.com
Sun Sep 2 14:59:54 PDT 2007
On Sunday 02 September 2007 02:36:33 pm developer at oldunreal.com wrote:
> alutLoadMemoryFromFileImage tries to guess the sound data format by
> looking at the contents of the memory region given as the first two
> arguments and loads the sound data into a newly malloced buffer,
> possibly converting it in the process. The format is guaranteed to be a
> standard OpenAL format afterwards.
The file you posted was an MP3-encoded .wav files (MP3 data stored with a
RIFF-WAVE header). MP3 is not a standard OpenAL format. There are extensions
for it, but they're strongly discouraged. Best to decode it using an external
lib and stream it.
More information about the Openal
mailing list