Public Member Functions | List of all members
MidiDataConcatenator Class Reference

Helper class that takes chunks of incoming midi bytes, packages them into messages, and dispatches them to a midi callback. More...

Public Member Functions

 MidiDataConcatenator (int initialBufferSize)
 
void reset ()
 
template<typename UserDataType , typename CallbackType >
void pushMidiData (const void *inputData, int numBytes, double time, UserDataType *input, CallbackType &callback)
 

Detailed Description

Helper class that takes chunks of incoming midi bytes, packages them into messages, and dispatches them to a midi callback.

Constructor & Destructor Documentation

◆ MidiDataConcatenator()

MidiDataConcatenator::MidiDataConcatenator ( int  initialBufferSize)

Member Function Documentation

◆ reset()

void MidiDataConcatenator::reset ( )

◆ pushMidiData()

template<typename UserDataType , typename CallbackType >
void MidiDataConcatenator::pushMidiData ( const void *  inputData,
int  numBytes,
double  time,
UserDataType *  input,
CallbackType &  callback 
)

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