Helper class that takes chunks of incoming midi bytes, packages them into messages, and dispatches them to a midi callback. More...
#include <juce_MidiDataConcatenator.h>
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) |
Helper class that takes chunks of incoming midi bytes, packages them into messages, and dispatches them to a midi callback.
MidiDataConcatenator::MidiDataConcatenator | ( | int | initialBufferSize | ) |
void MidiDataConcatenator::reset | ( | ) |
void MidiDataConcatenator::pushMidiData | ( | const void * | inputData, |
int | numBytes, | ||
double | time, | ||
UserDataType * | input, | ||
CallbackType & | callback ) |
References MidiMessage::getMessageLengthFromFirstByte().