mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2025-09-06 23:27:53 -04:00
tweak buffer memory usage
This commit is contained in:
parent
942a511fea
commit
d7d1008d89
@ -26,7 +26,7 @@ void FFTDataDistributor::process() {
|
|||||||
if (inp) {
|
if (inp) {
|
||||||
if (inputBuffer.sampleRate != inp->sampleRate || inputBuffer.frequency != inp->frequency) {
|
if (inputBuffer.sampleRate != inp->sampleRate || inputBuffer.frequency != inp->frequency) {
|
||||||
|
|
||||||
bufferMax = inp->sampleRate;
|
bufferMax = inp->sampleRate / 4;
|
||||||
// std::cout << "Buffer Max: " << bufferMax << std::endl;
|
// std::cout << "Buffer Max: " << bufferMax << std::endl;
|
||||||
bufferOffset = 0;
|
bufferOffset = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user