Re: Using MIDI CoreAudio with carbon
Re: Using MIDI CoreAudio with carbon
- Subject: Re: Using MIDI CoreAudio with carbon
- From: email@hidden
- Date: Mon, 6 Jan 2003 17:16:49 +0100
How can I found all the MIDI coreAudio types and method
declarations for
Carbon ?
The main idea consist of importing and gluing functions that
comes from the CoreMIDI framework.
see the code bundled in your Metrowerks Codewarrior example :
"Call CFM to Mach-O Framework" in the MacOS X examples folder.
The example is rather straight forward, and is *the* supported
way to handle this.
you'll have to load from "CoreMIDI.framework" instead of
"carbon.framework" of course.
There is an oddity in the way to handle callback. See my post on
CoreAudio entitled "CoreMIDI wrap from carbon [slightly OT]"
since it contains the code you need to make it work (althought
it is ugly, it *seems* to work smoothly).
Thanks,
Raphael
_______________________________________________
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.