Re: Intel iMac
Re: Intel iMac
- Subject: Re: Intel iMac
- From: Paul Fredlein <email@hidden>
- Date: Tue, 31 Jan 2006 12:42:35 +1000
I just created a new project and added the MTCoreAudio framework to
it but when run I get the error "dyld: Library not loaded" and the
reason is "image not found".
Sorry guys, this has probably been the problem all along but what do
I need to do to fix this - never encountered this before.
Paul
On 31/01/2006, at 11:50 AM, Paul Fredlein wrote:
Hi Michael,
MTCoreAudio.framework/Versions/B/MTCoreAudio: Mach-O fat file
with 2 architectures
MTCoreAudio.framework/Versions/B/MTCoreAudio (for architecture
ppc): Mach-O dynamically linked shared library ppc
MTCoreAudio.framework/Versions/B/MTCoreAudio (for architecture
i386): Mach-O dynamically linked shared library i386
Yes I did that and got the results.
The NSArray returns no objects.
I've been fiddling in the debugger copying/ pasting sections from
+allDevices into my code to see what happens and it seems to fall
over in
tmpDevice = [[[self class] alloc] initWithDeviceID:deviceList[x]];
with "Program received signal: "SIGTRAP". But of course I'm
probably messing up somewhere.
Paul
On 31/01/2006, at 10:44 AM, Michael Thornburgh wrote:
from the terminal, if you do "file MTCoreAudio.framework/Versions/
B/MTCoreAudio", you should see
when you say "the list is empty" for -allDevices, are you getting
an empty NSArray or nil? are you seeing any link or runtime
errors on the console/debug output? personally, i always turn
zerolink off, since it complicates testing my apps on the other
systems i have available for testing.
i'm guessing you're not successfully building the framework as
universal, or perhaps not including/linking against your newly
built version, since MTCoreAudio does extremely straightforward
HAL calls to get things like "all devices" or "the default input
device".
-mike
On Jan 30, 2006, at 4:28 PM, Paul Fredlein wrote:
Hi,
I rebuilt the framework as a universal binary (I think so anyway
- is there a way to check?) but still can't see any
"defaultInputDevice", in fact can't see "allDevices" either the
list is empty. But the rebuilt framework works OK on my PPC. I
tried using my USB iMic device on the iMac but still sees nothing.
Thanks,
Paul
On 31/01/2006, at 9:23 AM, Michael Thornburgh wrote:
the last release version of MTCoreAudio is nearly two years
old. therefore, the pre-compiled framework is PPC-only.
since full source is included, you just need to rebuild the
framework as a universal binary.
perhaps soon i'll push out a new version to address this issue.
i had wanted to add several more features (particularly related
to cocoa bindings), but that isn't going to happen in the
foreseeable future. :/
-mike
On Jan 30, 2006, at 3:12 PM, Paul Fredlein wrote:
Hi,
I've created a simple project on my PPC using MTCoreAudio and
it works fine. I then created the same project on my Intel iMac
and
inputDevice = [MTCoreAudioDevice defaultInputDevice];
returns nil.
I can't even get Recordotron nor the sample "AudioMonitor"
provided with MTCoreAudio to work on my iMac. With
AudioMonitor I get an error "Zerolink: unknown symbol
_MTCoreAudioHardwareDeviceListDidChangeNotification". If I
change to "deployment" then I get a long list of undefined
symbols.
Any help appreciated, thanks.
Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40armory.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40armory.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40optusnet.com.au
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40optusnet.com.au
This email sent to email@hidden
_______________________________________________
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