MIDI API, C
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