20#include "deluge/io/midi//midi_device.h"
22class MIDICableUSB :
public MIDICable {
24 MIDICableUSB(uint8_t portNum = 0) : portNumber(portNum) {}
29 [[nodiscard]] Error
sendSysex(
const uint8_t* data, int32_t len)
override;
32 void checkIncomingSysex(uint8_t
const* msg, int32_t ip, int32_t d);
33 void connectedNow(int32_t midiDeviceNum);
34 void sendMCMsNowIfNeeded();
37 uint8_t needsToSendMCMs = 0;
Error sendMessage(MIDIMessage message) override
Send a MIDI message.
Definition usb_common.cpp:86
size_t sendBufferSpace() const override
Get the number of bytes available in the send buffer.
Definition usb_common.cpp:108
bool wantsToOutputMIDIOnChannel(MIDIMessage message, int32_t filter) const override
Used to decide if the given message should be output on a channel.
Definition usb_common.cpp:196
Error sendSysex(const uint8_t *data, int32_t len) override
Definition usb_common.cpp:130