kopia lustrzana https://gitlab.com/eliggett/wfview
minor change
rodzic
d2388447d3
commit
ee57c67f16
|
@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue