MidiQueue

Priority queue for MIDI messages

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Functions

accumNextMidiMessages
void accumNextMidiMessages(Vec!MidiMessage output, int frames)

Another way to get MIDI messages is to pushBack them into an external buffer, in order to accumulate them for different sub-buffers. When you use this API, you need to provide a Vec yourself.

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. The time reference is afterwards advanced by frames.

initialize
void initialize()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta