Fwd: Re: [Openal] alutLoadWAVFile

timo at futuremark.com timo at futuremark.com
Mon Aug 22 08:28:36 PDT 2005


On Mon, 22 Aug 2005, Stephen J Baker wrote:

> OTOH, I dislike updating the API every time someone donates a new loader.
> 
> Much cleaner is to have:
> 
>     ALboolean alutLoadAudioFile ( const char *filename ) ;
> 
> ...which would look in the file header to discern which file format the
> file is - and call the appropriate loader behind the scenes.
> 
> That way, we can add support for new file formats (or not) without upsetting
> existing applications.  If you wanted to add OGG support (for example), all
> you have to do is to put out a new release with the release notes saying:

This is in core of OpenGL 1.something:

http://oss.sgi.com/projects/ogl-sample/registry/ARB/texture_compression.txt

About setting error code: alut should have it's own error code.

-- 
timo





More information about the Openal mailing list