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: Herbie Robinson <email@hidden>
- Date: Thu, 19 Sep 2002 18:23:40 -0400
Hi everyone,
Quick question on MIDINotifyProc -- should one expect the
MIDINotifyProc to ever be called, if the MIDIClientCreate() is in a
UNIX command-line application, that doesn't have a Carbon or Cocoa
run-loop?
I've been running MIDI in a Unix command line app and all i seem to
have to do is call nanosleep and the callbacks get called.
You can also call CFRunLoop yourself. It's part of Core Foundation
and it used by Carbon and Cocoa. If your app is responding to events
(rather than generating them), this would be a good way to go. The
documentation on how to use CFRunLoop is a little sketchy (OK, that's
an understatement....)...
--
-*****************************************
**
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.