Re: misses very first MIDI-in packet?
Re: misses very first MIDI-in packet?
- Subject: Re: misses very first MIDI-in packet?
- From: Hidetomo Katsura <email@hidden>
- Date: Sat, 28 Feb 2004 17:41:31 -0800
thanks for confirming the problem.
but adding a short (or long) sleep (in the main thread if that matters)
doesn't seem to cure the problem in my app. :(
katsura
I can confirm that happens and that a short sleep (1 second) seems to
cure the problem. I wasn't sure whether to report it as a bug or
not...
CoreMIDI question:
my app sends a DEVICE INQUIRY REQUEST sysex and waits for a DEVICE
INQUIRY REPLY sysex.
for some reason, my MIDI-in proc sometimes gets called with the reply
sysex, and sometimes doesn't even though the MIDI-in status LED on
the MIDI I/F (btw, it's a midiman 2x2) always blinks which i assume
the reply sysex is actually received by the MIDI I/F.
fyi, my MIDI-in proc does get called for all the following MIDI-in's,
it only misses the very first packet "DEVICE INQUIRY REPLY"
sometimes, not always.
any ideas? suggestions? what am i doing wrong? am i supposed to wait
for certain period of time after the app launch or the
MIDIPortConnectSource() call?
thanks in advance,
katsura
_______________________________________________
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.