• 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
MIDI API, C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MIDI API, C


  • Subject: MIDI API, C
  • From: Paul Davis <email@hidden>
  • Date: Mon, 15 Nov 2010 14:02:29 +0000

from what I can find so far, it appears the most public API for
AudioUnits that handle MIDI data is intended to be the C++ one
represented by AUMIDIBase.h. There are hints, though, of a C API as
well, for example:

      if (AudioUnitGetProperty(mUnit, kAudioUnitProperty_FastDispatch,

kAudioUnitScope_Global, kMusicDeviceMIDIEventSelect,

&mMIDIEventProc, &size) != noErr)
                        mMIDIEventProc = NULL;

and

                return MusicDeviceMIDIEvent (mUnit, inStatus, inData1,
inData2, inOffsetSampleFrame);

both the CA utilities library.

Both of the C API examples above seem to cover only "music devices".
Is it correct to assume that MusicDeviceMIDIEvent () can be called for
a 'aumf' plugin as well? and is the fast dispatcher referenced in the
first example expected to be used by plugins, or merely optional?
 _______________________________________________
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

  • Prev by Date: Re: Base SDK=10.6 and Deplyoment Target=10.5 crashes AU plug ins on 10.5.8?
  • Next by Date: kAudioSessionCategory_PlayAndRecord, input from iphone mic , output to bluetooth
  • Previous by thread: iOS: Ok I really need help
  • Next by thread: kAudioSessionCategory_PlayAndRecord, input from iphone mic , output to bluetooth
  • Index(es):
    • Date
    • Thread