Re: CoreMIDI and Carbon
Re: CoreMIDI and Carbon
- Subject: Re: CoreMIDI and Carbon
- From: Garth Cummings <email@hidden>
- Date: Tue, 10 Jun 2003 08:48:21 -0700
Hi Phil,
On Tuesday, June 10, 2003, at 07:47 AM, phil wrote:
but how do you integrate client threads? When you call
MIDIClientCreate it
starts a high priority thread. I need a little assistancemaking sense
of all
that. the examples I have been able to get are all commandline types
that
just cann CFRunLoopRun..I am trying to integrate some midi input into
my
carbon app but I do not know how to get the midi input events through
the
carbon event handler.. if that is what I am supposed to do..
thanks!
phil
Have you read the documentation on CFRunLoop? It discusses how to
integrate run loop calls with Cocoa and Carbon code:
<
http://developer.apple.com/techpubs/macosx/CoreFoundation/
ProgrammingTopics/CFRunLoops/index.html>
Best wishes,
--gc
----- Original Message -----
From: "David Duncan" <email@hidden>
To: "Jeremy Sagan" <email@hidden>
Cc: "CoreAudio API" <email@hidden>
Sent: Thursday, May 29, 2003 3:24 PM
Subject: Re: CoreMIDI and Carbon
On Thursday, May 29, 2003, at 05:44 PM, Jeremy Sagan wrote:
What is the recommended way of calling CoreMIDI routines from a
Carbon
application? Any examples would be greatly appreciated.
If your MachO link to the framework and call
If your CFM, you will need to import the function calls with CFBundle
&
create CFM-MachO glue for any callbacks. There is an example of this
in
the CarbonLib SDK (and on the sample code site) that iirc is
CFM-MachO-CFM (or something like that).
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who
try.
David Duncan
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.