• 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: Intel iMac
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Intel iMac


  • Subject: Re: Intel iMac
  • From: Paul Fredlein <email@hidden>
  • Date: Tue, 31 Jan 2006 11:50:25 +1000

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: This email sent to email@hidden
  • Follow-Ups:
    • Re: Intel iMac
      • From: Paul Fredlein <email@hidden>
References: 
 >Intel iMac (From: Paul Fredlein <email@hidden>)
 >Re: Intel iMac (From: Michael Thornburgh <email@hidden>)
 >Re: Intel iMac (From: Paul Fredlein <email@hidden>)
 >Re: Intel iMac (From: Michael Thornburgh <email@hidden>)

  • Prev by Date: Re: Intel iMac
  • Next by Date: Re: Intel iMac
  • Previous by thread: Re: Intel iMac
  • Next by thread: Re: Intel iMac
  • Index(es):
    • Date
    • Thread