mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-05 07:24:44 -04:00
post sample rate changes directly on DSP input message queue. Removed sample source output queue entirely as it was not reliable under stress
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "airspyinput.h"
|
||||
#include "util/simpleserializer.h"
|
||||
#include "dsp/dspcommands.h"
|
||||
#include "dsp/dspengine.h"
|
||||
#include "airspyserializer.h"
|
||||
#include "airspythread.h"
|
||||
|
||||
@@ -463,7 +464,7 @@ bool AirspyInput::applySettings(const Settings& settings, bool force)
|
||||
{
|
||||
int sampleRate = devSampleRate/(1<<m_settings.m_log2Decim);
|
||||
DSPSignalNotification *notif = new DSPSignalNotification(sampleRate, m_settings.m_centerFrequency);
|
||||
getOutputMessageQueue()->push(notif);
|
||||
DSPEngine::instance()->getInputMessageQueue()->push(notif);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user