Re: Restarting MIDIServer?
Re: Restarting MIDIServer?
- Subject: Re: Restarting MIDIServer?
- From: Doug Wyatt <email@hidden>
- Date: Wed, 17 Aug 2005 12:03:12 -0700
On Aug 16, 2005, at 5:39, Jay Vaughan wrote:
hi all,
i have a situation where i need to restart MIDIServer (or at least,
get it to re-load its driver .plugins) after a USB-based update is
done to one of our MIDI devices .. my question is, should I just be
using AuthorizationServics to do this ('kill -HUP MIDIServer'), or
is there a nicer, more "CoreAUDIO" way of getting MIDIServer to
restart/reload/reset itself?
Unfortunately, no and no.
MIDIServer doesn't do anything in response to a SIGHUP nor is there a
nice way to get it to re-evaluate the driver plugins.
For now you should probably instruct the user to quit all
applications which might be using MIDIServer.
You could file an enhancement request for a way to tell MIDIServer to
look for new or changed drivers and reload them.
Doug
--
Doug Wyatt
Core Audio, Apple
_______________________________________________
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