Re: Creating a MIDIClient inside of a MIDI driver?
Re: Creating a MIDIClient inside of a MIDI driver?
- Subject: Re: Creating a MIDIClient inside of a MIDI driver?
- From: Doug Wyatt <email@hidden>
- Date: Mon, 8 Apr 2002 08:14:29 -0700
On Saturday, April 6, 2002, at 04:43 , Kurt Revis wrote:
Is it officially allowed to call MIDIClientCreate() inside of a MIDI
driver?
Yes.
This seems like a bizarre thing to do,
No, it was an intentional design decision.
but it appears to work just fine. (I want to get MIDI setup change
notifications inside of a driver.) I'm pleasantly surprised that it
works, but I'd like to know if this is really a sane thing to do.
Perfectly :-)
Also, there's a small bug that I'm running into: if the driver's
MIDIClient gets disposed of after all the external MIDIClients, the
MIDIServer process keeps running, when it should terminate. If this is
actually a sanctioned thing to do, I'll file a bug. If not, I'll find
another way to do what I want.
If you write a bug it'll come back to you as a duplicate, fixed in
CoreMIDI 1.3 :-)
Doug
--
Doug Wyatt
work: email@hidden (CoreAudio)
personal: email@hidden
http://www.sonosphere.com
"You cannot not communicate."
-- Paul Watzlawick, Pragmatics of Human Communication
_______________________________________________
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.