[Openal] Mac OS X OpenAL

Filip Iliescu djpriya at gmail.com
Tue Apr 10 09:59:05 PDT 2007


Hello, Im working on a sound manager for a multiplatform game engine
and Im new to OpenAL. I have a few general questions that I cant seem
to locate answers for:

1. alut.h was removed from OpenAL 1.1 and the  headers are gone from
teh framework on OS X. the tutorials Ive read had these 4 calls in the
intro and therefore I need this behavior to work in order to do
anything as well:

alutInit(NULL, 0);
alutLoadWAVFile((ALbyte*)"filename.wav", &format, &data, &size, &freq);
alutUnloadWAV(format, data, size, freq);
alutExit();

Do I use CoreAudio or quicktime calls for this and somehow create a
buffer to pass to this method?
->alBufferData(Buffer, format, data, size, freq);

Does any one have an example of how this might work (using mp3 or ogg
files instead of waves)?

2. I could install freealut but I feel like this is simply a bad idea
since it seems that it is being deprecated. Am I right?

Thank you for any help
Filip Iliescu


More information about the Openal mailing list