• 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
Must MIDIRestart() be called from the main thread?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: AudioFileTools in CoreAudo SDK 1.3.3
  • Next by Date: Re: AudioFileTools in CoreAudo SDK 1.3.3
  • Previous by thread: Re: PlayAudioFile
  • Next by thread: Re: Coreaudio-api Digest, Vol 1, Issue 121
  • Index(es):
    • Date
    • Thread