From c30cb6585ec249cfa4a4bc4b632b418fb2fa6e89 Mon Sep 17 00:00:00 2001 From: Kyle Awayan Date: Sat, 21 Sep 2024 17:50:09 -0700 Subject: [PATCH] Increase buffer size for incoming packets to accommodate OPUS-QUAD packets --- src/main/java/org/deepsymmetry/beatlink/VirtualRekordbox.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/deepsymmetry/beatlink/VirtualRekordbox.java b/src/main/java/org/deepsymmetry/beatlink/VirtualRekordbox.java index 6bbcf5c..44630df 100644 --- a/src/main/java/org/deepsymmetry/beatlink/VirtualRekordbox.java +++ b/src/main/java/org/deepsymmetry/beatlink/VirtualRekordbox.java @@ -896,7 +896,7 @@ private boolean createVirtualRekordbox() throws Exception { } // Set up our buffer and packet to receive incoming messages. - final byte[] buffer = new byte[512]; + final byte[] buffer = new byte[1420]; final DatagramPacket packet = new DatagramPacket(buffer, buffer.length); // Create the update reception thread