• 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: Custom MIDI driver does not appear in Audio MIDI Setup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom MIDI driver does not appear in Audio MIDI Setup


  • Subject: Re: Custom MIDI driver does not appear in Audio MIDI Setup
  • From: Kurt Revis <email@hidden>
  • Date: Mon, 9 May 2005 22:20:52 -0700

On May 9, 2005, at 3:35 PM, Chris Alfred wrote:

I have created a dummy MIDI driver. I placed the resultant .plugin in the
'/Library/Audio/MIDI Drivers' directory.


The MIDI server finds the driver and creates the driver object as expected,
however, the device does not appear in Audio MIDI Setup.


What else do I have to do?

AMS doesn't show instances of drivers. It shows the instances of MIDIDevice that are in a MIDISetup. Your driver is responsible for creating devices, specifying what their entities are (usually each "port", consisting of a MIDI input and output, is an entity), and adding the devices to the system default MIDISetup.


Your code doesn't currently do much of anything. It needs to call MIDIAddDevice(), MIDISetupAddDevice(), MIDIDeviceAddEntity(), etc.

See the comments in the headers:
/System/Library/Frameworks/CoreMIDIServer.framework/Headers/ MIDIDriver.h
/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDISetup.h


Also, this example code shows exactly how to call these functions:
    /Developer/Examples/CoreAudio/MIDI/SampleUSBDriver/

--
Kurt Revis
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


References: 
 >Custom MIDI driver does not appear in Audio MIDI Setup (From: "Chris Alfred" <email@hidden>)

  • Prev by Date: Mono plugs (was: AUBase preset handling change)
  • Next by Date: Re: AUTimePitch parameters problem
  • Previous by thread: Custom MIDI driver does not appear in Audio MIDI Setup
  • Next by thread: AUTimePitch parameters problem
  • Index(es):
    • Date
    • Thread