2#include <Settings/NamespaceSettings.hpp>
21 return {packet.header, packet.byte1, packet.byte2, packet.byte3};
#define BEGIN_CS_NAMESPACE
Array< T, N > copyAs(const Array< U, N > &src)
Copy an Array to an Array of a different type.
void sendNow()
Transmit the output buffer immediately (not implemented).
MIDIUSBPacket_t read()
Read a single packet. Return a packet of all zeros if there is no packet.
void write(MIDIUSBPacket_t p)
Write a single packet to the output buffer.
bool preferImmediateSend()
No explicit call to sendNow is required.
USBMIDI backend
The actual low-level USB MIDI backend provided by the core libraries.
void begin()
Called once upon initialization.