mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-18 07:35:47 -05:00
LocalSource plugin cleanup and fixes
This commit is contained in:
parent
12735f26a9
commit
f1112f64d0
@ -45,8 +45,7 @@ LocalSource::LocalSource(DeviceAPI *deviceAPI) :
|
||||
m_deviceAPI(deviceAPI),
|
||||
m_centerFrequency(0),
|
||||
m_frequencyOffset(0),
|
||||
m_basebandSampleRate(48000),
|
||||
m_settingsMutex(QMutex::Recursive)
|
||||
m_basebandSampleRate(48000)
|
||||
{
|
||||
setObjectName(m_channelId);
|
||||
|
||||
|
@ -19,7 +19,6 @@
|
||||
#define INCLUDE_LOCALSOURCE_H_
|
||||
|
||||
#include <QObject>
|
||||
#include <QMutex>
|
||||
#include <QNetworkRequest>
|
||||
|
||||
#include "dsp/basebandsamplesource.h"
|
||||
@ -145,8 +144,6 @@ private:
|
||||
QNetworkAccessManager *m_networkManager;
|
||||
QNetworkRequest m_networkRequest;
|
||||
|
||||
QMutex m_settingsMutex;
|
||||
|
||||
void applySettings(const LocalSourceSettings& settings, bool force = false);
|
||||
void propagateSampleRateAndFrequency(uint32_t index, uint32_t log2Interp);
|
||||
static void validateFilterChainHash(LocalSourceSettings& settings);
|
||||
|
@ -35,7 +35,7 @@ LocalSourceBaseband::LocalSourceBaseband() :
|
||||
m_sampleFifo.resize(SampleSourceFifo::getSizePolicy(48000));
|
||||
m_channelizer = new UpChannelizer(&m_source);
|
||||
|
||||
qDebug("FileSourceBaseband::FileSourceBaseband");
|
||||
qDebug("LocalSourceBaseband::LocalSourceBaseband");
|
||||
QObject::connect(
|
||||
&m_sampleFifo,
|
||||
&SampleSourceFifo::dataRead,
|
||||
|
@ -15,8 +15,8 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef INCLUDE_FILESOURCEBASEBAND_H
|
||||
#define INCLUDE_FILESOURCEBASEBAND_H
|
||||
#ifndef INCLUDE_LOCALSOURCEBASEBAND_H
|
||||
#define INCLUDE_LOCALSOURCEBASEBAND_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QMutex>
|
||||
@ -145,4 +145,4 @@ private slots:
|
||||
};
|
||||
|
||||
|
||||
#endif // INCLUDE_FILESOURCEBASEBAND_H
|
||||
#endif // INCLUDE_LOCALSOURCEBASEBAND_H
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
const PluginDescriptor LocalSourcePlugin::m_pluginDescriptor = {
|
||||
QString("Local channel source"),
|
||||
QString("4.12.1"),
|
||||
QString("4.12.2"),
|
||||
QString("(c) Edouard Griffiths, F4EXB"),
|
||||
QString("https://github.com/f4exb/sdrangel"),
|
||||
true,
|
||||
|
Loading…
Reference in New Issue
Block a user