2016-04-08 12:14:50 -04:00
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
2016-04-21 21:53:16 -04:00
|
|
|
// Copyright (C) 2016 F4EXB //
|
2016-04-08 12:14:50 -04:00
|
|
|
// written by Edouard Griffiths //
|
|
|
|
// //
|
|
|
|
// This program is free software; you can redistribute it and/or modify //
|
|
|
|
// it under the terms of the GNU General Public License as published by //
|
|
|
|
// the Free Software Foundation as version 3 of the License, or //
|
|
|
|
// //
|
|
|
|
// This program is distributed in the hope that it will be useful, //
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
|
|
// GNU General Public License V3 for more details. //
|
|
|
|
// //
|
|
|
|
// You should have received a copy of the GNU General Public License //
|
|
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2016-04-07 07:05:53 -04:00
|
|
|
#ifndef INCLUDE_DSDDEMOD_H
|
|
|
|
#define INCLUDE_DSDDEMOD_H
|
|
|
|
|
2016-10-02 16:29:04 -04:00
|
|
|
#include <dsp/basebandsamplesink.h>
|
2016-04-07 07:05:53 -04:00
|
|
|
#include <dsp/phasediscri.h>
|
|
|
|
#include <QMutex>
|
|
|
|
#include <vector>
|
|
|
|
#include "dsp/nco.h"
|
|
|
|
#include "dsp/interpolator.h"
|
|
|
|
#include "dsp/lowpass.h"
|
|
|
|
#include "dsp/bandpass.h"
|
|
|
|
#include "dsp/afsquelch.h"
|
2016-04-08 22:02:18 -04:00
|
|
|
#include "dsp/movingaverage.h"
|
2016-04-07 07:05:53 -04:00
|
|
|
#include "dsp/afsquelch.h"
|
|
|
|
#include "audio/audiofifo.h"
|
|
|
|
#include "util/message.h"
|
2017-08-24 02:46:14 -04:00
|
|
|
#include "util/udpsink.h"
|
2016-10-02 07:18:07 -04:00
|
|
|
|
2017-10-03 18:02:59 -04:00
|
|
|
#include "dsddemodsettings.h"
|
2017-08-24 02:46:14 -04:00
|
|
|
#include "dsddecoder.h"
|
2016-04-07 07:05:53 -04:00
|
|
|
|
2017-10-02 07:56:40 -04:00
|
|
|
class DeviceSourceAPI;
|
|
|
|
class ThreadedBasebandSampleSink;
|
|
|
|
class DownChannelizer;
|
2016-04-07 07:05:53 -04:00
|
|
|
|
2016-10-02 16:29:04 -04:00
|
|
|
class DSDDemod : public BasebandSampleSink {
|
2016-04-07 07:05:53 -04:00
|
|
|
public:
|
2017-10-03 18:02:59 -04:00
|
|
|
class MsgConfigureDSDDemod : public Message {
|
|
|
|
MESSAGE_CLASS_DECLARATION
|
|
|
|
|
|
|
|
public:
|
|
|
|
const DSDDemodSettings& getSettings() const { return m_settings; }
|
|
|
|
bool getForce() const { return m_force; }
|
|
|
|
|
|
|
|
static MsgConfigureDSDDemod* create(const DSDDemodSettings& settings, bool force)
|
|
|
|
{
|
|
|
|
return new MsgConfigureDSDDemod(settings, force);
|
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
DSDDemodSettings m_settings;
|
|
|
|
bool m_force;
|
|
|
|
|
|
|
|
MsgConfigureDSDDemod(const DSDDemodSettings& settings, bool force) :
|
|
|
|
Message(),
|
|
|
|
m_settings(settings),
|
|
|
|
m_force(force)
|
|
|
|
{ }
|
|
|
|
};
|
|
|
|
|
2017-10-02 07:56:40 -04:00
|
|
|
class MsgConfigureChannelizer : public Message {
|
|
|
|
MESSAGE_CLASS_DECLARATION
|
|
|
|
|
|
|
|
public:
|
|
|
|
int getSampleRate() const { return m_sampleRate; }
|
|
|
|
int getCenterFrequency() const { return m_centerFrequency; }
|
|
|
|
|
|
|
|
static MsgConfigureChannelizer* create(int sampleRate, int centerFrequency)
|
|
|
|
{
|
|
|
|
return new MsgConfigureChannelizer(sampleRate, centerFrequency);
|
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
int m_sampleRate;
|
|
|
|
int m_centerFrequency;
|
|
|
|
|
|
|
|
MsgConfigureChannelizer(int sampleRate, int centerFrequency) :
|
|
|
|
Message(),
|
|
|
|
m_sampleRate(sampleRate),
|
|
|
|
m_centerFrequency(centerFrequency)
|
|
|
|
{ }
|
|
|
|
};
|
|
|
|
|
|
|
|
DSDDemod(DeviceSourceAPI *deviceAPI);
|
2016-04-07 07:05:53 -04:00
|
|
|
~DSDDemod();
|
2017-10-02 07:56:40 -04:00
|
|
|
void setScopeSink(BasebandSampleSink* sampleSink) { m_scope = sampleSink; }
|
2016-04-07 07:05:53 -04:00
|
|
|
|
|
|
|
void configure(MessageQueue* messageQueue,
|
2017-10-03 17:00:18 -04:00
|
|
|
Real rfBandwidth,
|
|
|
|
Real fmDeviation,
|
|
|
|
Real demodGain,
|
|
|
|
Real volume,
|
2016-08-06 05:03:05 -04:00
|
|
|
int baudRate,
|
2016-04-07 07:05:53 -04:00
|
|
|
int squelchGate,
|
|
|
|
Real squelch,
|
2016-08-18 13:38:39 -04:00
|
|
|
bool audioMute,
|
2016-08-24 19:06:42 -04:00
|
|
|
bool enableCosineFiltering,
|
2016-08-30 19:18:32 -04:00
|
|
|
bool syncOrConstellation,
|
|
|
|
bool slot1On,
|
2016-09-06 18:16:08 -04:00
|
|
|
bool slot2On,
|
2017-05-07 04:23:37 -04:00
|
|
|
bool tdmaStereo,
|
2017-08-24 02:46:14 -04:00
|
|
|
bool pllLock,
|
|
|
|
bool udpCopyAudio,
|
|
|
|
const QString& udpAddress,
|
|
|
|
quint16 udpPort,
|
|
|
|
bool force);
|
2016-04-07 07:05:53 -04:00
|
|
|
|
2016-09-28 11:58:29 -04:00
|
|
|
void configureMyPosition(MessageQueue* messageQueue, float myLatitude, float myLongitude);
|
|
|
|
|
2016-04-07 07:05:53 -04:00
|
|
|
virtual void feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool po);
|
|
|
|
virtual void start();
|
|
|
|
virtual void stop();
|
|
|
|
virtual bool handleMessage(const Message& cmd);
|
|
|
|
|
2016-12-06 13:06:38 -05:00
|
|
|
double getMagSq() { return m_magsq; }
|
2016-04-07 07:05:53 -04:00
|
|
|
bool getSquelchOpen() const { return m_squelchOpen; }
|
|
|
|
|
2016-04-21 21:53:16 -04:00
|
|
|
const DSDDecoder& getDecoder() const { return m_dsdDecoder; }
|
|
|
|
|
2017-05-16 17:39:49 -04:00
|
|
|
void getMagSqLevels(double& avg, double& peak, int& nbSamples)
|
2016-12-06 13:06:38 -05:00
|
|
|
{
|
2017-05-16 11:46:44 -04:00
|
|
|
avg = m_magsqCount == 0 ? 1e-10 : m_magsqSum / m_magsqCount;
|
2016-12-06 13:06:38 -05:00
|
|
|
m_magsq = avg;
|
2017-05-16 11:46:44 -04:00
|
|
|
peak = m_magsqPeak == 0.0 ? 1e-10 : m_magsqPeak;
|
|
|
|
nbSamples = m_magsqCount == 0 ? 1 : m_magsqCount;
|
2016-12-06 13:06:38 -05:00
|
|
|
m_magsqSum = 0.0f;
|
|
|
|
m_magsqPeak = 0.0f;
|
|
|
|
m_magsqCount = 0;
|
|
|
|
}
|
|
|
|
|
2017-05-16 11:46:44 -04:00
|
|
|
|
2016-04-07 07:05:53 -04:00
|
|
|
private:
|
2016-09-28 11:58:29 -04:00
|
|
|
class MsgConfigureMyPosition : public Message {
|
|
|
|
MESSAGE_CLASS_DECLARATION
|
|
|
|
|
|
|
|
public:
|
|
|
|
float getMyLatitude() const { return m_myLatitude; }
|
|
|
|
float getMyLongitude() const { return m_myLongitude; }
|
|
|
|
|
|
|
|
static MsgConfigureMyPosition* create(float myLatitude, float myLongitude)
|
|
|
|
{
|
|
|
|
return new MsgConfigureMyPosition(myLatitude, myLongitude);
|
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
float m_myLatitude;
|
|
|
|
float m_myLongitude;
|
|
|
|
|
|
|
|
MsgConfigureMyPosition(float myLatitude, float myLongitude) :
|
|
|
|
m_myLatitude(myLatitude),
|
|
|
|
m_myLongitude(myLongitude)
|
|
|
|
{}
|
|
|
|
};
|
|
|
|
|
2017-10-03 18:02:59 -04:00
|
|
|
class MsgConfigureDSDDemodPrivate : public Message {
|
2016-04-07 07:05:53 -04:00
|
|
|
MESSAGE_CLASS_DECLARATION
|
|
|
|
|
|
|
|
public:
|
2017-10-03 16:49:30 -04:00
|
|
|
Real getRFBandwidth() const { return m_rfBandwidth; }
|
|
|
|
Real getFMDeviation() const { return m_fmDeviation; }
|
2017-10-03 17:00:18 -04:00
|
|
|
Real getDemodGain() const { return m_demodGain; }
|
|
|
|
Real getVolume() const { return m_volume; }
|
2016-08-06 05:03:05 -04:00
|
|
|
int getBaudRate() const { return m_baudRate; }
|
2016-04-07 07:05:53 -04:00
|
|
|
int getSquelchGate() const { return m_squelchGate; }
|
|
|
|
Real getSquelch() const { return m_squelch; }
|
|
|
|
bool getAudioMute() const { return m_audioMute; }
|
2016-08-18 13:38:39 -04:00
|
|
|
bool getEnableCosineFiltering() const { return m_enableCosineFiltering; }
|
2016-08-24 19:06:42 -04:00
|
|
|
bool getSyncOrConstellation() const { return m_syncOrConstellation; }
|
2016-08-30 19:18:32 -04:00
|
|
|
bool getSlot1On() const { return m_slot1On; }
|
|
|
|
bool getSlot2On() const { return m_slot2On; }
|
2016-09-06 18:16:08 -04:00
|
|
|
bool getTDMAStereo() const { return m_tdmaStereo; }
|
2017-05-07 04:23:37 -04:00
|
|
|
bool getPLLLock() const { return m_pllLock; }
|
2017-08-24 02:46:14 -04:00
|
|
|
bool getUDPCopyAudio() const { return m_udpCopyAudio; }
|
|
|
|
const QString& getUDPAddress() const { return m_udpAddress; }
|
|
|
|
quint16 getUDPPort() const { return m_udpPort; }
|
2016-04-07 07:05:53 -04:00
|
|
|
|
2017-10-03 18:02:59 -04:00
|
|
|
static MsgConfigureDSDDemodPrivate* create(Real rfBandwidth,
|
2017-10-03 16:49:30 -04:00
|
|
|
Real fmDeviation,
|
2017-10-03 17:00:18 -04:00
|
|
|
Real demodGain,
|
|
|
|
Real volume,
|
2016-08-06 05:03:05 -04:00
|
|
|
int baudRate,
|
2016-04-07 07:05:53 -04:00
|
|
|
int squelchGate,
|
|
|
|
Real squelch,
|
2016-08-18 13:38:39 -04:00
|
|
|
bool audioMute,
|
2016-08-24 19:06:42 -04:00
|
|
|
bool enableCosineFiltering,
|
2016-08-30 19:18:32 -04:00
|
|
|
bool syncOrConstellation,
|
|
|
|
bool slot1On,
|
2016-09-06 18:16:08 -04:00
|
|
|
bool slot2On,
|
2017-05-07 04:23:37 -04:00
|
|
|
bool tdmaStereo,
|
2017-08-24 02:46:14 -04:00
|
|
|
bool pllLock,
|
|
|
|
bool udpCopyAudio,
|
|
|
|
const QString& udpAddress,
|
|
|
|
quint16 udpPort,
|
|
|
|
bool force)
|
2016-04-07 07:05:53 -04:00
|
|
|
{
|
2017-10-03 18:02:59 -04:00
|
|
|
return new MsgConfigureDSDDemodPrivate(rfBandwidth,
|
2017-10-03 16:49:30 -04:00
|
|
|
fmDeviation,
|
2016-08-24 19:06:42 -04:00
|
|
|
demodGain,
|
|
|
|
volume,
|
|
|
|
baudRate,
|
|
|
|
squelchGate,
|
|
|
|
squelch,
|
|
|
|
audioMute,
|
|
|
|
enableCosineFiltering,
|
2016-08-30 19:18:32 -04:00
|
|
|
syncOrConstellation,
|
|
|
|
slot1On,
|
2016-09-06 18:16:08 -04:00
|
|
|
slot2On,
|
2017-05-07 04:23:37 -04:00
|
|
|
tdmaStereo,
|
2017-08-24 02:46:14 -04:00
|
|
|
pllLock,
|
|
|
|
udpCopyAudio,
|
|
|
|
udpAddress,
|
|
|
|
udpPort,
|
|
|
|
force);
|
2016-04-07 07:05:53 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
Real m_rfBandwidth;
|
2017-10-03 16:49:30 -04:00
|
|
|
Real m_fmDeviation;
|
2016-04-07 07:05:53 -04:00
|
|
|
Real m_demodGain;
|
2017-10-03 17:00:18 -04:00
|
|
|
Real m_volume;
|
2016-08-06 05:03:05 -04:00
|
|
|
int m_baudRate;
|
2016-04-07 07:05:53 -04:00
|
|
|
int m_squelchGate;
|
|
|
|
Real m_squelch;
|
|
|
|
bool m_audioMute;
|
2016-08-18 13:38:39 -04:00
|
|
|
bool m_enableCosineFiltering;
|
2016-08-24 19:06:42 -04:00
|
|
|
bool m_syncOrConstellation;
|
2016-08-30 19:18:32 -04:00
|
|
|
bool m_slot1On;
|
|
|
|
bool m_slot2On;
|
2016-09-06 18:16:08 -04:00
|
|
|
bool m_tdmaStereo;
|
2017-05-07 04:23:37 -04:00
|
|
|
bool m_pllLock;
|
2017-08-24 02:46:14 -04:00
|
|
|
bool m_udpCopyAudio;
|
|
|
|
QString m_udpAddress;
|
|
|
|
quint16 m_udpPort;
|
|
|
|
bool m_force;
|
2016-04-07 07:05:53 -04:00
|
|
|
|
2017-10-03 18:02:59 -04:00
|
|
|
MsgConfigureDSDDemodPrivate(Real rfBandwidth,
|
2017-10-03 17:00:18 -04:00
|
|
|
Real fmDeviation,
|
|
|
|
Real demodGain,
|
|
|
|
Real volume,
|
2016-08-06 05:03:05 -04:00
|
|
|
int baudRate,
|
2016-04-07 07:05:53 -04:00
|
|
|
int squelchGate,
|
|
|
|
Real squelch,
|
2016-08-18 13:38:39 -04:00
|
|
|
bool audioMute,
|
2016-08-24 19:06:42 -04:00
|
|
|
bool enableCosineFiltering,
|
2016-08-30 19:18:32 -04:00
|
|
|
bool syncOrConstellation,
|
|
|
|
bool slot1On,
|
2016-09-06 18:16:08 -04:00
|
|
|
bool slot2On,
|
2017-05-07 04:23:37 -04:00
|
|
|
bool tdmaStereo,
|
2017-08-24 02:46:14 -04:00
|
|
|
bool pllLock,
|
|
|
|
bool udpCopyAudio,
|
|
|
|
const QString& udpAddress,
|
|
|
|
quint16 udpPort,
|
|
|
|
bool force) :
|
2016-04-07 07:05:53 -04:00
|
|
|
Message(),
|
|
|
|
m_rfBandwidth(rfBandwidth),
|
2017-10-03 16:49:30 -04:00
|
|
|
m_fmDeviation(fmDeviation),
|
2016-04-07 07:05:53 -04:00
|
|
|
m_demodGain(demodGain),
|
|
|
|
m_volume(volume),
|
2016-08-06 05:03:05 -04:00
|
|
|
m_baudRate(baudRate),
|
2016-04-07 07:05:53 -04:00
|
|
|
m_squelchGate(squelchGate),
|
|
|
|
m_squelch(squelch),
|
2016-08-18 13:38:39 -04:00
|
|
|
m_audioMute(audioMute),
|
2016-08-24 19:06:42 -04:00
|
|
|
m_enableCosineFiltering(enableCosineFiltering),
|
2016-08-30 19:18:32 -04:00
|
|
|
m_syncOrConstellation(syncOrConstellation),
|
|
|
|
m_slot1On(slot1On),
|
2016-09-06 18:16:08 -04:00
|
|
|
m_slot2On(slot2On),
|
2017-05-07 04:23:37 -04:00
|
|
|
m_tdmaStereo(tdmaStereo),
|
2017-08-24 02:46:14 -04:00
|
|
|
m_pllLock(pllLock),
|
|
|
|
m_udpCopyAudio(udpCopyAudio),
|
|
|
|
m_udpAddress(udpAddress),
|
|
|
|
m_udpPort(udpPort),
|
|
|
|
m_force(force)
|
2016-04-07 07:05:53 -04:00
|
|
|
{ }
|
|
|
|
};
|
|
|
|
|
|
|
|
enum RateState {
|
|
|
|
RSInitialFill,
|
|
|
|
RSRunning
|
|
|
|
};
|
|
|
|
|
|
|
|
struct Config {
|
|
|
|
int m_inputSampleRate;
|
|
|
|
qint64 m_inputFrequencyOffset;
|
2017-10-03 16:49:30 -04:00
|
|
|
Real m_rfBandwidth;
|
|
|
|
Real m_fmDeviation;
|
2017-10-03 17:00:18 -04:00
|
|
|
Real m_demodGain;
|
|
|
|
Real m_volume;
|
2016-08-06 05:03:05 -04:00
|
|
|
int m_baudRate;
|
2016-04-07 07:05:53 -04:00
|
|
|
int m_squelchGate;
|
|
|
|
Real m_squelch;
|
|
|
|
bool m_audioMute;
|
|
|
|
quint32 m_audioSampleRate;
|
2016-08-18 13:38:39 -04:00
|
|
|
bool m_enableCosineFiltering;
|
2016-08-24 19:06:42 -04:00
|
|
|
bool m_syncOrConstellation;
|
2016-08-30 19:18:32 -04:00
|
|
|
bool m_slot1On;
|
|
|
|
bool m_slot2On;
|
2016-09-06 18:16:08 -04:00
|
|
|
bool m_tdmaStereo;
|
2017-05-07 04:23:37 -04:00
|
|
|
bool m_pllLock;
|
2017-08-24 02:46:14 -04:00
|
|
|
bool m_udpCopyAudio;
|
|
|
|
QString m_udpAddress;
|
|
|
|
quint16 m_udpPort;
|
2016-04-07 07:05:53 -04:00
|
|
|
|
|
|
|
Config() :
|
|
|
|
m_inputSampleRate(-1),
|
|
|
|
m_inputFrequencyOffset(0),
|
2017-10-03 16:49:30 -04:00
|
|
|
m_rfBandwidth(10000.0),
|
|
|
|
m_fmDeviation(5000.0),
|
2017-10-03 17:00:18 -04:00
|
|
|
m_demodGain(1.0),
|
|
|
|
m_volume(1.0),
|
2016-08-06 05:03:05 -04:00
|
|
|
m_baudRate(4800),
|
2016-04-07 07:05:53 -04:00
|
|
|
m_squelchGate(1),
|
2017-10-03 17:03:29 -04:00
|
|
|
m_squelch(-40.0),
|
2016-04-07 07:05:53 -04:00
|
|
|
m_audioMute(false),
|
2016-08-18 13:38:39 -04:00
|
|
|
m_audioSampleRate(0),
|
2016-08-24 19:06:42 -04:00
|
|
|
m_enableCosineFiltering(false),
|
2016-08-30 19:18:32 -04:00
|
|
|
m_syncOrConstellation(false),
|
|
|
|
m_slot1On(false),
|
2016-09-06 18:16:08 -04:00
|
|
|
m_slot2On(false),
|
2017-05-07 04:23:37 -04:00
|
|
|
m_tdmaStereo(false),
|
2017-08-24 02:46:14 -04:00
|
|
|
m_pllLock(true),
|
|
|
|
m_udpCopyAudio(false),
|
|
|
|
m_udpAddress("127.0.0.1"),
|
|
|
|
m_udpPort(9999)
|
2016-04-07 07:05:53 -04:00
|
|
|
{ }
|
|
|
|
};
|
|
|
|
|
|
|
|
Config m_config;
|
|
|
|
Config m_running;
|
2017-10-03 18:02:59 -04:00
|
|
|
DSDDemodSettings m_settings;
|
2016-04-07 07:05:53 -04:00
|
|
|
|
2017-10-02 07:56:40 -04:00
|
|
|
DeviceSourceAPI *m_deviceAPI;
|
|
|
|
ThreadedBasebandSampleSink* m_threadedChannelizer;
|
|
|
|
DownChannelizer* m_channelizer;
|
|
|
|
|
2016-04-07 07:05:53 -04:00
|
|
|
NCO m_nco;
|
|
|
|
Interpolator m_interpolator;
|
|
|
|
Real m_interpolatorDistance;
|
|
|
|
Real m_interpolatorDistanceRemain;
|
|
|
|
int m_sampleCount;
|
|
|
|
int m_squelchCount;
|
2016-04-08 22:02:18 -04:00
|
|
|
int m_squelchGate;
|
2016-04-07 07:05:53 -04:00
|
|
|
|
|
|
|
double m_squelchLevel;
|
|
|
|
bool m_squelchOpen;
|
|
|
|
|
|
|
|
Real m_lastArgument;
|
2017-01-15 11:03:32 -05:00
|
|
|
MovingAverage<double> m_movingAverage;
|
2017-05-16 17:39:49 -04:00
|
|
|
double m_magsq;
|
|
|
|
double m_magsqSum;
|
|
|
|
double m_magsqPeak;
|
2016-12-06 13:06:38 -05:00
|
|
|
int m_magsqCount;
|
2016-04-07 07:05:53 -04:00
|
|
|
|
|
|
|
Real m_fmExcursion;
|
|
|
|
|
|
|
|
SampleVector m_scopeSampleBuffer;
|
|
|
|
AudioVector m_audioBuffer;
|
|
|
|
uint m_audioBufferFill;
|
2016-04-11 21:32:42 -04:00
|
|
|
qint16 *m_sampleBuffer; //!< samples ring buffer
|
|
|
|
int m_sampleBufferIndex;
|
2016-04-07 07:05:53 -04:00
|
|
|
|
2016-09-03 19:06:10 -04:00
|
|
|
AudioFifo m_audioFifo1;
|
|
|
|
AudioFifo m_audioFifo2;
|
2016-10-02 16:29:04 -04:00
|
|
|
BasebandSampleSink* m_scope;
|
2016-04-07 07:05:53 -04:00
|
|
|
bool m_scopeEnabled;
|
|
|
|
|
2016-04-08 12:14:50 -04:00
|
|
|
DSDDecoder m_dsdDecoder;
|
2016-04-07 07:05:53 -04:00
|
|
|
QMutex m_settingsMutex;
|
|
|
|
|
|
|
|
PhaseDiscriminators m_phaseDiscri;
|
2017-08-24 19:17:21 -04:00
|
|
|
UDPSink<AudioSample> *m_udpBufferAudio;
|
2016-04-07 07:05:53 -04:00
|
|
|
|
2017-08-24 02:46:14 -04:00
|
|
|
static const int m_udpBlockSize;
|
|
|
|
|
|
|
|
void apply(bool force = false);
|
2017-10-03 18:02:59 -04:00
|
|
|
void applySettings(DSDDemodSettings& settings, bool force = false);
|
2016-04-07 07:05:53 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // INCLUDE_DSDDEMOD_H
|