[Openal] What goes after main()?
vmelkon at yahoo.com
Thu Jan 19 08:29:01 PST 2006
When I downloaded the SDK from Creative's site, it
comes with the header files and libs and dlls. For me,
alut was in there.
There were examples included but I'm not sure if they
were using ALUT
There is a Framework in there that wraps AL.
I looked at this code and my own class. Some of my
code is near identical to the Framework.
To play wav files, look at PlayStatic in the Samples
A function called
ALboolean LoadWave(char *szWaveFile, ALuint BufferID)
reads in the wav file. These are simple because they
are not compressed. They are the BMP format of the
For other formats, you need to get a 3rd party lib or
write your own. Decompress them to raw data (PCM), and
feed them to a AL buffer.
Hope that helps
--- jalqadir at netscape.net wrote:
> ALUT, what?
> The only documentation I got with OpenAL was "OpenAL
> 1.1 Specification", "Programmer's Guide (A4,US
> Do I need another library to run programs using a
> GUI library that needs other two or three libraries
> to compile using this library, oh man! even
> explaining it is very difficult.
> OK, what I would like to know is, what libraries do
> I need in order to play a, one and only one, mp3,
> wav, cda or java's au file in my Gtkmm program?
> Thanks Stephen Baker in advance.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the Openal