From ee57c67f169bcdc81142a55eaf9eab20b80af68c Mon Sep 17 00:00:00 2001 From: Elliott Liggett Date: Sun, 1 Aug 2021 15:52:09 -0700 Subject: [PATCH] minor change --- audiohandler.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/audiohandler.cpp b/audiohandler.cpp index b3411a2..76addc5 100644 --- a/audiohandler.cpp +++ b/audiohandler.cpp @@ -325,7 +325,7 @@ void audioHandler::setupLADSP() - BUF_SIZE = 2728; // starting with the largest likely size + BUF_SIZE = 2728; // starting with the largest likely size. I think we can do half this actually, due to 16 bit needing half as much space as 8 bit. qDebug(logAudio()) << __PRETTY_FUNCTION__ << ": Setting BUF_SIZE to " << BUF_SIZE; qDebug(logAudio()) << __PRETTY_FUNCTION__ << ": Setting sample rate to: " << SAMPLE_RATE; @@ -749,9 +749,6 @@ void audioHandler::incomingAudio(audioPacket inPacket) inPacket.data[i] = pluginOutput16bitInterlaced[i/2] & 0x00ff; inPacket.data[i+1] = (pluginOutput16bitInterlaced[i/2] & 0xff00) >> 8; -// inPacket.data[i+1] = pluginOutput16bitInterlaced[i/2] & 0x00ff; -// inPacket.data[i] = (pluginOutput16bitInterlaced[i/2] & 0xff00) >> 8; - }