ASPiK SDK
Loading...
Searching...
No Matches
AAXMIDIEventQueue Class Reference

The AAXMIDIEventQueue interface queues incoming MIDI messages and blasts them out during the buffer processing phase. More...

#include <AAXPluginParameters.h>

Inheritance diagram for AAXMIDIEventQueue:
IMidiEventQueue

Public Member Functions

 AAXMIDIEventQueue (PluginCore *_pluginCore)
 
void setMIDIpackets (const AAX_CMidiPacket *&_ioPacketPtr, uint32_t &_midiBuffersize)
 
virtual unsigned int getEventCount ()
 
virtual bool fireMidiEvents (unsigned int sampleOffset)
 
- Public Member Functions inherited from IMidiEventQueue
virtual uint32_t getEventCount ()=0
 
virtual bool fireMidiEvents (uint32_t uSampleOffset)=0
 

Protected Attributes

PluginCorepluginCore = nullptr
 core
 
const AAX_CMidiPacket * ioPacketPtr
 array of packets
 
uint32_t midiBuffersize = 0
 midi buffer size for each bunch of packets
 

Detailed Description

The AAXMIDIEventQueue interface queues incoming MIDI messages and blasts them out during the buffer processing phase.

NOTES:

  • this is a simple interface because the MIDI information is already pre-packaged in queue format with time-stamped MIDI events
  • this just wraps the midi events into the ASPiK IMidiEventQueue
Author
Will Pirkle http://www.willpirkle.com
Remarks
This object is included in ASPiK
Version
Revision : 1.0
Date
Date : 2018 / 09 / 7

Constructor & Destructor Documentation

◆ AAXMIDIEventQueue()

AAXMIDIEventQueue::AAXMIDIEventQueue ( PluginCore _pluginCore)
inline

consruct with a core pointer

Member Function Documentation

◆ fireMidiEvents()

virtual bool AAXMIDIEventQueue::fireMidiEvents ( unsigned int  sampleOffset)
inlinevirtual

send MIDI event with this sample offset to the core for processing

◆ getEventCount()

virtual unsigned int AAXMIDIEventQueue::getEventCount ( )
inlinevirtual

event count for this bunch

Implements IMidiEventQueue.

◆ setMIDIpackets()

void AAXMIDIEventQueue::setMIDIpackets ( const AAX_CMidiPacket *&  _ioPacketPtr,
uint32_t &  _midiBuffersize 
)
inline

send a new batch of MIDI packets into the object


The documentation for this class was generated from the following file: