Re: Should MIDINotifyProc work in command-line programs?
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.