• 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
Re: Restarting MIDI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Restarting MIDI


  • Subject: Re: Restarting MIDI
  • From: Kurt Revis <email@hidden>
  • Date: Tue, 22 Jul 2003 10:09:09 -0700

On Tuesday, July 22, 2003, at 12:38 AM, Denis Queffeulou wrote:

When I want to change the parameters, I dispose all port and re-init all stuff but I have an error :
error to start MIDI server
(something like -10859 error code, I don't exactly remember, sorry)
Check and see if the MIDI Server process is terminating. I used to see something like that when drivers get into infinite loops (Make sure you have up to date MIDI drivers for your interface).

I look at the process viewer after the MIDI port dispose and it shows that MIDIServer becomes "zombie". After that, the same application can't restart it. The MIDIServer exits when the application exits.
I think MIDIServer becomes zombie when I disconnect the MIDI input port.

If I remember correctly, you said you were also disposing of your MIDIClient, and creating a new one. Is this correct?

Normally, if you're the only one using CoreMIDI, I would expect the MIDIServer to exit when you dispose of your MIDIClient. It should exit cleanly, and not become a zombie -- it's unclear why that is happening. And my next guess is that the presence of the zombie is somehow interfering with starting another MIDIServer when you create a new MIDIClient.

In any case, most apps create one MIDIClient when their program starts, and use it until the program terminates. You might try doing that.

--
Kurt Revis
email@hidden
_______________________________________________
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: Restarting MIDI
      • From: Denis Queffeulou <email@hidden>
References: 
 >Re: Restarting MIDI (From: Denis Queffeulou <email@hidden>)

  • Prev by Date: Re: Restarting MIDI
  • Next by Date: Re: kAudioUnitProperty_FactoryPresets
  • Previous by thread: Re: Restarting MIDI
  • Next by thread: Re: Restarting MIDI
  • Index(es):
    • Date
    • Thread