• 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: Should MIDINotifyProc work in command-line programs?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Should MIDINotifyProc work in command-line programs?


  • Subject: Re: Should MIDINotifyProc work in command-line programs?
  • From: Doug Wyatt <email@hidden>
  • Date: Thu, 19 Sep 2002 15:51:00 -0700

On Thursday, Sep 19, 2002, at 14:05 US/Pacific, John Lazzaro wrote:
email@hidden writes:

Are you running your own run loop via CFRunLoopRun()?

No, its a pure command-line application, apart from this
NotifyProc issue sfront has no need for a run-loop, as
its run from a shell in Terminal.

I just gave this a try and it works for me.

Thanks, this looks like its probably the simplest way to go,
assuming CoreFoundation doesn't bloat the memory footprint
of the application excessively ...

Oops, missed Kurt's reply. Yes, just call CFRunLoopRun() if you don't care about coming back from it.

CoreMIDI uses CoreFoundation under the hood, so you wouldn't be dragging in anything that isn't already there.

Doug

--
Doug Wyatt
work: email@hidden (CoreAudio)
personal: email@hidden http://www.sonosphere.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.

References: 
 >Re: Should MIDINotifyProc work in command-line programs? (From: John Lazzaro <email@hidden>)

  • Prev by Date: Re: Should MIDINotifyProc work in command-line programs?
  • Next by Date: Re: AudioFile.h and FSRef??
  • Previous by thread: Re: Should MIDINotifyProc work in command-line programs?
  • Next by thread: Re: Should MIDINotifyProc work in command-line programs?
  • Index(es):
    • Date
    • Thread