diff --git a/src/IOThread.h b/src/IOThread.h index 20455f3..6091c8c 100644 --- a/src/IOThread.h +++ b/src/IOThread.h @@ -40,7 +40,7 @@ public: }; #define REBUFFER_GC_LIMIT 100 -#define REBUFFER_WARNING_THRESHOLD 150 +#define REBUFFER_WARNING_THRESHOLD 2000 template class ReBuffer { diff --git a/src/demod/DemodulatorInstance.cpp b/src/demod/DemodulatorInstance.cpp index 94ec0cd..9620ec3 100644 --- a/src/demod/DemodulatorInstance.cpp +++ b/src/demod/DemodulatorInstance.cpp @@ -64,7 +64,7 @@ DemodulatorInstance::DemodulatorInstance() { pipeIQInputData = std::make_shared(); pipeIQInputData->set_max_num_items(100); pipeIQDemodData = std::make_shared< DemodulatorThreadPostInputQueue>(); - pipeIQInputData->set_max_num_items(100); + pipeIQDemodData->set_max_num_items(100); audioThread = new AudioThread(); @@ -73,7 +73,7 @@ DemodulatorInstance::DemodulatorInstance() { demodulatorPreThread->setOutputQueue("IQDataOutput",pipeIQDemodData); pipeAudioData = std::make_shared(); - pipeAudioData->set_max_num_items(10); + pipeAudioData->set_max_num_items(100); threadQueueControl = std::make_shared(); threadQueueControl->set_max_num_items(2);