OpenShot Audio Library | OpenShotAudio 0.4.0
|
#include <juce_UMPDispatcher.h>
Public Member Functions | |
void | reset () |
template<typename PacketCallbackFunction> | |
void | dispatch (const uint32_t *begin, const uint32_t *end, double timeStamp, PacketCallbackFunction &&callback) |
Parses a raw stream of uint32_t, and calls a user-provided callback every time a full Universal MIDI Packet is encountered.
Definition at line 34 of file juce_UMPDispatcher.h.
|
inline |
Calls callback with a View of each packet encountered in the range delimited by begin and end.
If the range ends part-way through a packet, the next call to dispatch will continue from that point in the packet (unless reset is called first).
Definition at line 47 of file juce_UMPDispatcher.h.
|
inline |
Clears the dispatcher.
Definition at line 38 of file juce_UMPDispatcher.h.