Should MIDINotifyProc work in command-line programs?
Should MIDINotifyProc work in command-line programs?
- Subject: Should MIDINotifyProc work in command-line programs?
- From: John Lazzaro <email@hidden>
- Date: Thu, 19 Sep 2002 12:48:57 -0700
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?
This expectation seems to be consistent with I'm seeing in the
sfront CoreMIDI port -- I set up a MIDINotifyProc in the
MIDIClientCreate(), then do things which should result in a callback
to the MIDINotifyProc (like start and stop other programs that create
virtual sources, unplug the USB jack for my UM-1, etc), but a callback
never seems to happen.
The ideal solution would be a function I could insert in my
own run-loop, that would trigger the CoreMIDI run-loop manually ... in
a quick look through the CoreMIDI headers, I couldn't find such a
function. Any ideas? Thanks in advances ...
-------------------------------------------------------------------------
John Lazzaro -- Research Specialist -- CS Division -- EECS -- UC Berkeley
lazzaro [at] cs [dot] berkeley [dot] edu www.cs.berkeley.edu/~lazzaro
-------------------------------------------------------------------------
_______________________________________________
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.