The AUMIDIEventQueue interface queues incoming MIDI messages and blasts them out during the buffer processing phase.
More...
#include <aufxplugin.h>
The AUMIDIEventQueue interface queues incoming MIDI messages and blasts them out during the buffer processing phase.
NOTES:
- the current version uses a pair of queues and an atomic boolean flag to implement a double-buffer scheme
- this will be updated later to use a lock-free ring buffer but the operation will remain transparemt
- Author
- Will Pirkle http://www.willpirkle.com
- Version
- Revision : 1.0
- Date
- Date : 2018 / 09 / 7
◆ AUMIDIEventQueue()
AUMIDIEventQueue::AUMIDIEventQueue |
( |
PluginCore * |
_pluginCore | ) |
|
|
inline |
consruct with a core pointer
◆ ~AUMIDIEventQueue()
virtual AUMIDIEventQueue::~AUMIDIEventQueue |
( |
| ) |
|
|
inlinevirtual |
just clear out the events that may remain
◆ addEvent()
void AUMIDIEventQueue::addEvent |
( |
midiEvent |
event | ) |
|
|
inline |
add a MIDI event to the currently active writing queue
◆ clearEvents()
void AUMIDIEventQueue::clearEvents |
( |
| ) |
|
|
inline |
clear both A and B queues
◆ clearQueueAEvents()
void AUMIDIEventQueue::clearQueueAEvents |
( |
| ) |
|
|
inline |
◆ clearQueueBEvents()
void AUMIDIEventQueue::clearQueueBEvents |
( |
| ) |
|
|
inline |
◆ fireMidiEvents()
virtual bool AUMIDIEventQueue::fireMidiEvents |
( |
unsigned int |
sampleOffset | ) |
|
|
inlinevirtual |
send MIDI event with this sample offset to the core for processing
◆ getEventCount()
virtual unsigned int AUMIDIEventQueue::getEventCount |
( |
| ) |
|
|
inlinevirtual |
get a MIDI event from the currently active reading queue
Implements IMidiEventQueue.
◆ toggleQueue()
void AUMIDIEventQueue::toggleQueue |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file:
- C:/RackAFX_v7/ASPIK_SDK/PluginTemplate/project_source/source/au_source/aufxplugin.h