Skip to content

Commit bc7803b

Browse files
authored
Merge pull request #998 from penfold42/Thru-udp-usb
bugfix: midi thru from udp to usb triggers an assert()
2 parents 0075bc5 + 15634fa commit bc7803b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/udpmididevice.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include <circle/net/netsubsystem.h>
2929
#include <circle/net/in.h>
3030

31-
#define VIRTUALCABLE 24
31+
#define VIRTUALCABLE 0
3232

3333
LOGMODULE("udpmididevice");
3434

@@ -113,4 +113,4 @@ void CUDPMIDIDevice::Send(const u8 *pMessage, size_t nLength, unsigned nCable)
113113
LOGNOTE("Sent %zu bytes to UDP MIDI host (broadcast)", nLength);
114114
}
115115
}
116-
}
116+
}

0 commit comments

Comments
 (0)