• 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: Link to CoreMIDI from CFM?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Link to CoreMIDI from CFM?


  • Subject: Re: Link to CoreMIDI from CFM?
  • From: Herbie Robinson <email@hidden>
  • Date: Tue, 25 Jun 2002 20:42:37 -0400

Sorry for the newbie question, but I've written some CoreMIDI functions for
my app. The functions themselves were not that bad to write because I
already knew OMS and the concept was pretty familiar, plus my needs are
simple (simple read incoming midi stream, write occasional sysex msg). But I
don't have a clue as to how to link to the CoreMIDI framework, if it's even
possible at all from my app.

Any hints would be appreciated.

Again: Carbonized CFM (non-bundled) app, written in C (everyone here seems
to be Java, which is intimidating!), Codewarrior 8.

I was hoping to play a little with CoreMIDI before making my app Mach-0, but
perhaps this is the back-asswards way of doing it, I don't know.

Thanks.

There is a way to do it from CFM, but you have to use glue routines.

If you build Mach-O, it's a straight bind. If you are planning on converting anyway, do that first. When I did it, the biggest hassle was GCC's lack of the "once" pragma. It should be a snap now that Codewarrior supports Mach-O. The only other PITA is that you have to delete all the old Mac header references from your source files and let the environment supply the OS definitions as source prefixes.
--
-*****************************************
** http://www.curbside-recording.com/ **
******************************************
_______________________________________________
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.
  • Follow-Ups:
    • Re: Link to CoreMIDI from CFM?
      • From: Laurent Cerveau <email@hidden>
References: 
 >Link to CoreMIDI from CFM? (From: brucecoughlin <email@hidden>)

  • Prev by Date: Link to CoreMIDI from CFM?
  • Next by Date: kAudioDevicePropertyStreamFormat in input
  • Previous by thread: Link to CoreMIDI from CFM?
  • Next by thread: Re: Link to CoreMIDI from CFM?
  • Index(es):
    • Date
    • Thread