• 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
64 bit AudioUnits: Rez flags for FilterDemo, AU Template
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

64 bit AudioUnits: Rez flags for FilterDemo, AU Template


  • Subject: 64 bit AudioUnits: Rez flags for FilterDemo, AU Template
  • From: Chris Santoro <email@hidden>
  • Date: Thu, 06 Oct 2011 12:45:52 -0400

Greetings!

I'm having a mysterious issue here with building a 64-bit version of FilterDemo. The way it comes off of Apple's website, it will not build properly for x86_64. The build succeeds, but the AU will not show up for auval -64 or AULab. This issue does not exist if you start a new AU Template with Cocoa View from XCode, only with FilterDemo, with nearly identical build settings.

This issue has been discussed before on this list (http://lists.apple.com/archives/coreaudio-api/2008/Mar/msg00036.html), with the workaround being making a change to AUResources.r (which seems unadvisable). The issue appears to be which architecture flags are defined when Rez is invoked:

For AU Template, you correctly get all 4 when doing a universal build: -d ppc_YES -d i386_YES -d ppc64_$ppc64 -d x86_64_YES
But with FilterDemo, you only get 32 bit archs: -d ppc_YES -d i386_YES, even if you explicitly add "-d x86_64_YES" to "Other Rez Flags".

This causes the resources to be compiled without 64 bit support for FilterDemo, and hence it doesn't show up.

I'm not as interested in getting it working (I could just make the modifications and do that) as I am in deeply understanding what is going on with XCode, and why the correct flags are not being passed to Rez in the case of FilterDemo. Is it an incompatibility with older XCode projects and 64 bit architectures? Does this suggest that, if I have a lot of legacy XCode AU projects to port to 64 bit, that I should port them to fresh, new XCode projects?

Any help or knowledge from you XCode/Rez gurus would be greatly appreciated! Thanks!

Chris


 _______________________________________________
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

  • Prev by Date: Re: a bit OT : Audio benchmark between Win 7 and Lion
  • Next by Date: Re: a bit OT : Audio benchmark between Win 7 and Lion
  • Previous by thread: Re: a bit OT : Audio benchmark between Win 7 and Lion
  • Next by thread: Missing AUDebugDispatcher
  • Index(es):
    • Date
    • Thread