[Bf-committers] No Sound in BGE on OSX, Can someone update dep's?

Campbell Barton ideasman42 at gmail.com
Fri May 1 13:33:22 CEST 2009


According to Chris (the openal-soft developer) OSX comes with openal
support in its framework.
the problem is that the alut OSX has is quite old, so we'd need to do
some mac specific defines IIRC we alredy have mac defines here? maybe
this is done.

Otherwise if we want to use openal-soft with portaudio, on my linux
system portaudio is 180k/68k compressed so not too bad a dep.

Note - for static openal-soft use "set -DLIBTYPE=STATIC" with cmake,
its not documented :|

On Fri, May 1, 2009 at 3:33 AM, Jorge Bernal <jbernalmartinez at gmail.com> wrote:
> Hi Campbell,
>
> At this moment Openal-soft only works in Mac OS X (intel & PPC) through
> PortAudio library. To avoid install another new library with blender,
> several month ago in the GIT repository of Openal-Soft there was a SDL
> backend:
> http://repo.or.cz/w/openal-soft.git?a=commit;h=7ebb28327f8e5fb91e3b0808f2782bf2f2e15341
>
> This backend worked perfectly but it was removed due to compile problems
> (under some linux installations Cmake can't find SDL libraries).
> Therefore, If we add again this backend with the last release of Openal-soft
> then we can avoid the Portaudio library requirement.
>
> I can supply an OpenAl-soft release with the SDL backend included but
> someone will have to compile it because I don't have a Mac.
>
> Regards,
> lordloki
>
>
>
> 2009/5/1 Campbell Barton <ideasman42 at gmail.com>
>
>> Hi, some of the guys on blenderartist keep complaining that they cant
>> get sound with the game engine on a mac (heres a the report)
>> [#5821] No sound on OSX (Intel) version of Blender Game Engine
>>
>> http://projects.blender.org/tracker/index.php?func=detail&aid=5821&group_id=9&atid=306
>>
>> Could someone update the mac openal to openal-soft?, ubuntu  uses use
>> openal-soft now and from what I read its supported on mac and windows.
>> Would be nice to go over and update SDL too.
>>
>> Heres the commit log for mac's openal libs, it doesn't say anywhere
>> what version they are or what source package was used.
>> ------------------------------------------------------------------------
>> r10195 | halley | 2007-03-03 06:48:05 -0800 (Sat, 03 Mar 2007) | 11 lines
>>
>> Added headers and a precompiled library for OpenAL on Intel OSX.
>>
>> There are still *problems* with the functionality that OpenAL needs to
>> fix for this platform.  Do not expect OpenAL sounds to work properly in
>> the game engine, for example, and there may be some crasher bugs.
>>
>> However, this will simplify building and running blender on Intel OSX
>> if you're not interested in using the OpenAL featuresOpenAL features.
>> More progress will be made on the makefiles to use this library once it
>> is less crash-prone.
>> ------------------------------------------------------------------------
>>
>>
>> --
>> - Campbell
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
- Campbell


More information about the Bf-committers mailing list