Loading SampleHardWarePlugin problem
Loading SampleHardWarePlugin problem
- Subject: Loading SampleHardWarePlugin problem
- From: sheen mac <email@hidden>
- Date: Thu, 24 Feb 2011 03:30:07 -0800 (PST)
Hi All,
I download the SampleHardwarePlugin code from apple site. Build and copy it into "/Library/Audio/Plug-Ins/HAL/" and try to take 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 is
NSBundle *_bundle=[NSBundle bundleWithPath:@"/Library/Audio/Plug-Ins/HAL/SampleHardwarePlugIn.plugin"];
NSLog([[_bundle principalClass] className]);
Kindly Help Me.
Thanks In Advance, Sheen |
_______________________________________________
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