• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode 2.5 CoreAudio SDK breaks UB AU projects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 2.5 CoreAudio SDK breaks UB AU projects


  • Subject: Re: Xcode 2.5 CoreAudio SDK breaks UB AU projects
  • From: William Stewart <email@hidden>
  • Date: Mon, 5 Nov 2007 18:18:17 -0800

Hi Sofia,

On Nov 5, 2007, at 10:45 AM, Sophia Poirier [dfx] wrote:

I just got bitten by an odd change in the CoreAudio SDK that's included in Xcode 2.5 that resulted in my AU projects no longer building UBs properly. Namely it's on the resource side, where faulty 'thng' resources are being created that only reference x86 code and not PPC.

After some poking around, I found that the crux of the matter is in the file /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/ AUResources.r where the following bit (from Xcode 2.4.1):

#undef  TARGET_REZ_MAC_PPC
#ifdef ppc_YES
	#define TARGET_REZ_MAC_PPC        1
#else
	#define TARGET_REZ_MAC_PPC        0
#endif

#undef  TARGET_REZ_MAC_X86
#ifdef i386_YES
	#define TARGET_REZ_MAC_X86        1
#else
	#define TARGET_REZ_MAC_X86        0
#endif

So, this is how the defines should be. I don't know why they are defined to be the way they were (the file was last touched a couple of years ago).






got changed to this:

// define these based on the kind of build you want to generate.
// BOTH symbols must be defined for rez to work with the defines below.
#if !defined(TARGET_REZ_MAC_PPC)
#define TARGET_REZ_MAC_PPC 1
#endif


#if !defined(TARGET_REZ_MAC_X86)
	#define TARGET_REZ_MAC_X86 1
#endif

Yes - this is clearly wrong.

Sorry for the confusion.

Bill

_______________________________________________
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


References: 
 >Xcode 2.5 CoreAudio SDK breaks UB AU projects (From: "Sophia Poirier [dfx]" <email@hidden>)

  • Prev by Date: Re: Coreaudio-api Digest, Vol 4, Issue 301
  • Next by Date: bugfix release of MTCoreAudio for Leopard
  • Previous by thread: Xcode 2.5 CoreAudio SDK breaks UB AU projects
  • Next by thread: Trying to gifure out why adding kAudioDeviceProcessorOverload listener fails
  • Index(es):
    • Date
    • Thread