Re: Intel iMac
Re: Intel iMac
- Subject: Re: Intel iMac
- From: Michael Thornburgh <email@hidden>
- Date: Mon, 30 Jan 2006 16:44:46 -0800
from the terminal, if you do "file MTCoreAudio.framework/Versions/B/
MTCoreAudio", you should see
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
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:
This email sent to email@hidden