[OpenAL] Status of OpenAL 1.1 on OS X

George Warner geowar at apple.com
Tue Aug 22 09:41:16 PDT 2006


on 8/22/06 12:38 AM, Sven Panne at <Sven.Panne at BenQ.com> wrote:
> on 8/21/06 11:52 PM, George Warner at <geowar at apple.com> wrote:
>> On Mon, 21 Aug 2006 10:47:22 +0200, "Sven Panne" <Sven.Panne at BenQ.com>
>> wrote:
>>> http://opensource.creative.com/repos/openal/trunk/alut/src/alu
>>> tLoader.c.
>> 
>> The problem with that routine is that it only loads WAV
>> files. The alut 1.1 replacement API (
>> alutCreateBufferFromFile ) is source file agnostic (which is
>> why I chose to implement it instead of the depreciated API).
>> [...]
> 
> That's not correct: ALUT can already handle various formats, as reported
> by alutGetMIMETypes. Currently we support audio/basic, audio/x-raw and
> audio/x-wav. There is still a VOC patch lying around somewhere (it has
> to be tweaked a bit before merging), and adding OGG support should be
> rather easy given libvorbis(file). MP3 seems to be a bit tricky because
> of licensing issues, at least unless we have some kind of dynamic
> loading/linking.

I wasn't talking about ALUT: I was talking about the alutLoadWAVFile
routine.

alutCreateBufferFromFile and alutGetMIMETypes are part of the 1.1 spec.

> The situation on Mac OS X is exactly what has been anticipated, i.e. the
> underlying platform can load/convert various formats for itself. It
> would be good if you could tweak your code into something that can be
> merged into ALUT's loaders. The main functions to adapt would be
> loadFile and alutGetMIMETypes in
> http://opensource.creative.com/repos/openal/trunk/alut/src/alutLoader.c.
> Something which could be autoconf'd/#ifdef'd at build time would be
> enough, although in the future we might switch to something more fancy
> like a plugin concept. I'm busy/away in the next 2 weeks, but after that
> I'm happy to merge any new code into the ALUT code base, adding some
> autoconf magic if necessary.

I'm busy the next two weeks and then on vacation for two weeks after that.
But I would like to contribute (Mac OS X solutions) to the alut 1.1 project.

-- 
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)




More information about the Openal mailing list