Skip to content

Commit aa97921

Browse files
committed
tinyusb: MIDI - Increase buffer size
We only transfer new packets when 64 bytes are available in the FIFO buffer. This increase the buffer, so we can receive the next new packet while still processing the current one.
1 parent aa21fb1 commit aa97921

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cores/arduino/TinyUSB/tusb_config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@
7979
#define CFG_TUD_HID_BUFSIZE 64
8080

8181
// MIDI FIFO size of TX and RX
82-
#define CFG_TUD_MIDI_RX_BUFSIZE 64
83-
#define CFG_TUD_MIDI_TX_BUFSIZE 64
82+
#define CFG_TUD_MIDI_RX_BUFSIZE 128
83+
#define CFG_TUD_MIDI_TX_BUFSIZE 128
8484

8585
// Vendor FIFO size of TX and RX
8686
#define CFG_TUD_VENDOR_RX_BUFSIZE 64

0 commit comments

Comments
 (0)