• 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: 64 bit AU does not show up in AULab
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 64 bit AU does not show up in AULab


  • Subject: Re: 64 bit AU does not show up in AULab
  • From: Heinrich Fink <email@hidden>
  • Date: Wed, 5 Mar 2008 09:22:07 +0100

Michael, 

Try using the lipo command-line tool on your plugin and see what you get. You can use the -info switch to get information on the architecture. (See man lipo for more information).

$ lipo -info EnergyAU 
Architectures in the fat file: EnergyAU are: i386 ppc7400 ppc64 x86_64

That seems to be correct. 

Does your plugin work correctly if you build it for 32-bit? I would think that would be the first step.

When starting AULab in 32bit mode my AudioUnit gets loaded and works correctly. It also passes every test in auval.

I couldn't find any AU Examples from Apple which are loaded in 64bit (except the preinstalled ones of course). I still suspect
something missing in the resource definitions, i.g. in AUPublic/AUBase/AUResources.r of the AU C++ SDK.

It looks like this file takes only two architectures into consideration:

resource 'thng' (RES_ID, NAME) {
COMP_TYPE,
COMP_SUBTYPE,
COMP_MANUF,
0, 0, 0, 0, // no 68K
'STR ', RES_ID,
'STR ', RES_ID + 1,
0, 0, /* icon */
VERSION,
componentHasMultiplePlatforms | componentDoAutoVersion,
0,
{
cmpThreadSafeOnMac, 
Target_CodeResType, RES_ID,
Target_PlatformType,
#if TARGET_REZ_FAT_COMPONENTS
cmpThreadSafeOnMac, 
Target_CodeResType, RES_ID,
Target_SecondPlatformType,
#endif
}
};


I guess there should be something added like Target_ThirdPlatformType and Target_FourthPlatformType. 

Heinrich
 _______________________________________________
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

  • Follow-Ups:
    • [Solved] Re: 64 bit AU does not show up in AULab
      • From: Heinrich Fink <email@hidden>
References: 
 >64 bit AU does not show up in AULab (From: Heinrich Fink <email@hidden>)
 >Re: 64 bit AU does not show up in AULab (From: Michael Hopkins <email@hidden>)

  • Prev by Date: Re: SupportedNumChannels problem
  • Next by Date: Two inputs vs stereo pairs
  • Previous by thread: Re: 64 bit AU does not show up in AULab
  • Next by thread: [Solved] Re: 64 bit AU does not show up in AULab
  • Index(es):
    • Date
    • Thread