1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 13:47:01 -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:
f4exb
2015-09-27 12:50:38 +02:00
parent 7cc0d95054
commit 525a3f0024
12 changed files with 24 additions and 34 deletions
+2 -1
View File
@@ -22,6 +22,7 @@
#include "rtlsdrthread.h"
#include "rtlsdrgui.h"
#include "dsp/dspcommands.h"
#include "dsp/dspengine.h"
#include "rtlsdrserializer.h"
MESSAGE_CLASS_DEFINITION(RTLSDRInput::MsgConfigureRTLSDR, Message)
@@ -351,7 +352,7 @@ bool RTLSDRInput::applySettings(const Settings& settings, bool force)
{
int sampleRate = m_settings.m_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;