[Openal] ALUT import for different wav formats

developer at oldunreal.com developer at oldunreal.com
Sun Sep 2 11:09:51 PDT 2007


I used alutLoadWAVMemory for a long time with lil problems so far, but 
now it is deprectated i had to give alutLoadMemoryFromFileImage a try. 
But what happened before very rarely - i now get "Unsupported mode 
within an otherwise usable file type" for filetypes which worked before.
Seems that not as many formats supported as with the old version.
As mentioned already, with the old version i had this problem too in 
very rare cases, but now its even worse.

Did anyone ever think to use something like libsndfile for that?

In any case- what other options do i have to import more than the 
formats ALUT provides me? I gave libsndfile a look, but it is only 
designed to convert files, not in memory data. To convert the wav files 
manually before import is not possible in my case, since its for a 
game-patch and its impossible for me to re-edit any map or mod to fit 
the requirements.

Any suggestions are very welcome.

Thx, Smirftsch


PS: added an example wav file which fails.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bdie.wav
Type: audio/wav
Size: 6500 bytes
Desc: not available
Url : http://opensource.creative.com/pipermail/openal/attachments/20070902/fb17d76e/Bdie.bin


More information about the Openal mailing list