• 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: Loading SampleHardWarePlugin problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading SampleHardWarePlugin problem


  • Subject: Re: Loading SampleHardWarePlugin problem
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Thu, 24 Feb 2011 12:42:13 +0100


Le 24 févr. 2011 à 12:30, sheen mac a écrit :

Hi All,
I download the SampleHardwarePlugin code from apple site.Build and copy it into "/Library/Audio/Plug-Ins/HAL/" and try totake it using NSBundle.But I got error in cosole.
Error loading /Library/Audio/Plug-Ins/HAL/SampleHardwarePlugIn.plugin/Contents/MacOS/SampleHardwarePlugIn:  dlopen(/Library/Audio/Plug-Ins/HAL/SampleHardwarePlugIn.plugin/Contents/MacOS/SampleHardwarePlugIn, 265): no suitable image found.  Did find:
/Library/Audio/Plug-Ins/HAL/SampleHardwarePlugIn.plugin/Contents/MacOS/SampleHardwarePlugIn: mach-o, but wrong architecture
The code I used to load isNSBundle *_bundle=[NSBundle bundleWithPath:@"/Library/Audio/Plug-Ins/HAL/SampleHardwarePlugIn.plugin"];


Than answer is in the question: "mach-o, but wrong architecture".

You host and your plugin must have the same architecture (32 bit for both or 64 bit for both).

PS: Do not cross post (post message on more than one list at a time)

-- Jean-Daniel




 _______________________________________________
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: 
 >Loading SampleHardWarePlugin problem (From: sheen mac <email@hidden>)

  • Prev by Date: Loading SampleHardWarePlugin problem
  • Next by Date: Playing ADPCM IMA4 data stream on iOS
  • Previous by thread: Loading SampleHardWarePlugin problem
  • Next by thread: Playing ADPCM IMA4 data stream on iOS
  • Index(es):
    • Date
    • Thread