MidiQueue

Queue for MIDI messages TODO: use a priority queue

nothrow @nogc
struct MidiQueue {
nothrow @nogc
enum QueueCapacity;
}

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Postblit

A postblit is present on this object, but not explicitly documented in the source.

Members

Functions

enqueue
void enqueue(MidiMessage message)

Enqueue a message in the priority queue.

getNextMidiMessages
const(MidiMessage)[] getNextMidiMessages(int frames)

Gets all the MIDI messages for the next frames samples. It is guaranteed to be in order relative to time. These messages are valid until the next call to getNextMidiMessages.

Meta