[Openal] Mac OS X OpenAL
George Warner
geowar at apple.com
Wed Apr 11 09:24:01 PDT 2007
On Tue, 10 Apr 2007 09:59:05 -0700, "Filip Iliescu" <djpriya at gmail.com>
wrote:
> 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);
I've got source code replacements for those routines on my iDisk at:
<http://homepage.mac.com/geowar1/.Public/Sample%20Code/alAux.zip>.
--
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)
More information about the Openal
mailing list