[Openal] ALUT import for different wav formats

Tristan Grimmer tri at tactile3d.com
Sun Sep 2 13:26:39 PDT 2007


I use Audiere (at tool-time, not-runtime) to process all sorts of 
formats.  It doesn't get updated often, but supports a tonne of formats, 
seems stable, and is open source.  It can load into memory and 
decompress: Ogg Vorbis, MP3, FLAC, uncompressed WAV, AIFF, MOD, S3M, XM, 
and IT. <http://dumb.sourceforge.net/>  It can also play these files, 
but you might want to chop out all the "playing" code and possibly 
remove mp3 support as the licencing is scary.

http://audiere.sourceforge.net/

--tristan


developer at oldunreal.com wrote:
> 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.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Openal mailing list
> Openal at opensource.creative.com
> http://opensource.creative.com/mailman/listinfo/openal
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20070902/f79de734/attachment.html


More information about the Openal mailing list