Contents

kAudioFormatMIDIStream

A key that specifies the MIDI stream codec, and uses no flags.

Declaration

var kAudioFormatMIDIStream: AudioFormatID { get }

Discussion

This codec contains a stream of MIDIPacketList structures where the time stamps are sample offsets in the stream. The mSampleRate field describes how time passes in this stream. An audio unit that receives or generates this stream can use this sample rate, the number of frames it’s rendering, and the sample offsets within the MIDIPacketList to define the time for any MIDI event within this list.

See Also

Format identifiers