---
title: AVMIDIEventListBlock
framework: avfaudio
role: symbol
role_heading: Type Alias
path: avfaudio/avmidieventlistblock
---

# AVMIDIEventListBlock

## Declaration

```swift
typealias AVMIDIEventListBlock = (Int64, UInt8, UnsafePointer<MIDIEventList>) -> OSStatus
```

## Parameters

- `eventSampleTime`: The time in samples at which the MIDI events are to occur.
- `cable`: The virtual cable number associated with this MIDI data.
- `eventList`: One full MIDI, partial MIDI SysEx, or a full SysEx UMP message.

## Discussion

Discussion A block used by an audio unit to send or receive MIDIEventList data.

## See Also

### MIDI

- [AVAudioSequencer](avfaudio/avaudiosequencer.md)
- [AVAudioUnitSampler](avfaudio/avaudiounitsampler.md)
