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; - }