Must MIDIRestart() be called from the main thread?
Must MIDIRestart() be called from the main thread?
- Subject: Must MIDIRestart() be called from the main thread?
- From: Greg Wuller <email@hidden>
- Date: Thu, 30 Dec 2004 16:37:48 -0800
The subject says it all. I am trying to access the CoreMIDI library
from LispWorks 4.4. Unfortunately I have found that calling
MIDIRestart() (or any CoreMIDI function) interactively from a thread
which isn't the initial thread results in the following:
CoreMIDI: timeout waiting for MIDIServer to start
-10839
If I build a LispWorks image which doesn't start multiple threads by
default, calling MIDIRestart() does succeed. Once the connection to
the MIDIServer is established it appears as if I can call CoreMIDI
functions from any thread.
My question(s) are: Does the first CoreMIDI call have to be done from
the main thread? If so is there any chance that this restriction could
get lifted? Does anyone know how the initial handshake with the
MIDIServer is done?
Thanks in advance for any insight/help.
Cheers,
-greg
_______________________________________________________
Greg Wuller email@hidden
_______________________________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden