[Ardour-Dev] building A3 on OSX; patches

Paul Davis paul at linuxaudiosystems.com
Tue Nov 29 06:50:56 PST 2011


On Tue, Nov 29, 2011 at 9:42 AM, Robin Gareus <robin at gareus.org> wrote:

> Well, then i suggest to remove the waf '--universal' option instead of
> fixing it. In its current state it is broken.

ah that :) a hangover from taybin's first efforts on OS X about 5
years ago! will remove. or not. will consider ..

>> i also don't see the point of a non-AU build.
>
> To get a 64bit native binary.
>
> My OSX machine is full of LV2 and LADSPA plugins: only a handful AU
> plugins that I never use. The only thing that prevents Ardour from being
> a 64bit binary is the Carbon AU plugin interface. Now, I don't expect a
> magic speedup - audio processing is 32 bit anyway -  but it may give an
> edge to GUI responsiveness.

excellent point. i'd prefer something that, rather than removing AU
support, removed Carbon AU support. i wonder how complex that is.

> What version of OSX do you build it on? What compiler?

Tiger, with gcc-darwin 4.0.1

> I guess the Carbon headers are pulled in automatically via the 10.4u SDK
> that you're using on your box. Xcode on OSX 10.6,7 does no longer come
> with the 10.4 SDK.

[ ... ]

ok, all makes sense now. thanks for explaining that.

> I think it can be explained like this:
>
> The CoreFoundation.h header that is included from audio_unit.cc uses the
> _Cocoa_ API these days (getCFRunLoop(), CFRunLoopGetCurrent() etc.).
>
> GetCurrentEventLoop() is part of the _Carbon_ Event Manager. You need to
> explicitly include Carbon headers and link to the Carbon Framework on
> OSX >=10.6.

we need to get rid of it.



More information about the Ardour-Dev mailing list