[Openal] Loading .wav using OpenAL SDK 1.1 for Windows

Jason Daly jdaly at ist.ucf.edu
Tue Nov 13 20:47:40 PST 2007


Nana Yaw wrote:
> Hello,
> I'm new to OpenAL.  I'm want to load a simple .wav file and have it 
> played but I'm having defficulties.
> alut is deprecated in SDK 1.1 and so visul studio .Net 2005 prevents 
> me from using it.

There is an old-fashioned ALUT that is deprecated (this one has the 
alutLoadWavFile() function).  However, there is a newer ALUT (called 
"freealut") that is also available on the downloads page at 
http://www.openal.org.  This one has the alutCreateBufferFromFile() 
method, as well as several others.  It is not deprecated, and should 
load your .wav files just fine.  Check the freealut specs for details on 
how to use it.


--"J"


More information about the Openal mailing list