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

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.

  • Follow-Ups:
    • Re: Should MIDINotifyProc work in command-line programs?
      • From: Doug Wyatt <email@hidden>
    • Re: Should MIDINotifyProc work in command-line programs?
      • From: Herbie Robinson <email@hidden>
    • Re: Should MIDINotifyProc work in command-line programs?
      • From: Kurt Revis <email@hidden>
  • Prev by Date: Re: AudioFile.h and FSRef??
  • Next by Date: (no subject)
  • Previous by thread: Re: AU2 - SaveState and RestoreState
  • Next by thread: Re: Should MIDINotifyProc work in command-line programs?
  • Index(es):
    • Date
    • Thread