[Openal] Mac OS X 1.1 Code in the SVN server
Brian Barnes
ggadwa at charter.net
Thu Aug 24 21:23:51 PDT 2006
On Aug 23, 2006, at 5:52 PM, Garin Hiebert wrote:
>
>> I hate to be a bug about this, but with all the OS X related
>> questions, when are we going to see the new code in the
>> repository? To avoid many system related conflicts, I compile and
>> include the library as a framework in my code base, so I need the
>> code itself. With WWDC over, I thought it was time to ask again :)
>
> A couple of weeks ago, Bob asked me to tag the current code and
> then did a whole slew of check-ins, so the code is in subversion as
> far as I know. The code that's in there certainly has the linear
> distance model, and seems to have the rest of 1.1 as well (casual
> inspection on my part).
I finally got to take this code apart and try it out. It's broken in
a number of ways.
1) It's not universal
this is fixed by adding the i386 compile and selecting the
proper per-arch SDKs
2) Naming problems:
alMacOSXRenderChannelCount is missing the "c" in "alc"
3) Function definition problems
somebody is forgetting carbon again :) All the alcMacOSX ....
functions need to be defined (not just the proc pointers) in
MacOSX_OALExtensions.h
example: ALC_API ALvoid alcMacOSXRenderingQuality (const ALint
value);
I haven't gotten much farther as I'm trying to beat this thing into
working and writing my own cross-platform WAV loader.
That said, the LINEAR distance model is a real life saver and now my
engine has predictable sound!
[>] Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20060825/3c416f49/attachment.html
More information about the Openal
mailing list