Re: Building AudioUnits for Mac OS 10.4 on Snow Leopard
Re: Building AudioUnits for Mac OS 10.4 on Snow Leopard
- Subject: Re: Building AudioUnits for Mac OS 10.4 on Snow Leopard
- From: Jean-Daniel Dupas <email@hidden>
- Date: Mon, 7 Sep 2009 11:14:55 +0200
Le 7 sept. 2009 à 10:58, Muon Software Ltd - Dave a écrit :
Bill,
I just got around to trying to build one of the demo AUs (sinSynth)
against Core Audio SDK 1.5 (as deployed with XCode 3.1.3) and it
definately fails when the Base SDK and Deployment Target are both
set to 10.4. Changing the Base SDK to 10.5 and leaving Deployment
Target on 10.4 allows the build to succeed. Target architecture is
32-bit Universal in both cases.
If this isn't the desired behaviour I'm happy to file a bug.
However, if I am understanding cross-development correctly (and
there's a good chance I am not!) then surely changing the Deployment
Target to 10.4 and leaving the Base SDK at 10.5 *should* give you an
AU that will work fine on Tiger, right? what would be the possible
disadvantages of doing things this way?
That's the recommended way to do. The main disadvantage is that if you
inadvertently call a method that is available on 10.5 only, the
compiler will not warn you. Note that using 10.5 feature is perfectly
valid even if you deploy on 10.4, as long as you check that the
function exists before calling it:
if (AFunctionAvailableOn105Only) {
AFunctionAvailableOn105Only(args);
} else {
// 10.4 way to do this
}
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden