audioplugins
Elliott Liggett 2021-08-01 15:52:09 -07:00
rodzic d2388447d3
commit ee57c67f16
1 zmienionych plików z 1 dodań i 4 usunięć

Wyświetl plik

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