• 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: Creating a MIDIClient inside of a MIDI driver?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Creating a MIDIClient inside of a MIDI driver? (From: Kurt Revis <email@hidden>)

  • Prev by Date: Re: using AudioUnits to SR convert input
  • Next by Date: Re: How to get the name of a stream/channel with CoreAudio
  • Previous by thread: Creating a MIDIClient inside of a MIDI driver?
  • Next by thread: using AudioUnits to SR convert input
  • Index(es):
    • Date
    • Thread