Add digital modem factories

This commit is contained in:
Charles J. Cliffe 2015-11-18 23:06:21 -05:00
parent a6cb932ab9
commit 001f4ee23b
2 changed files with 24 additions and 1 deletions

View File

@ -171,7 +171,18 @@ bool CubicSDR::OnInit() {
Modem::addModemFactory("USB", new ModemUSB);
Modem::addModemFactory("DSB", new ModemDSB);
Modem::addModemFactory("I/Q", new ModemIQ);
Modem::addModemFactory("APSK", new ModemAPSK);
Modem::addModemFactory("ASK", new ModemASK);
Modem::addModemFactory("BPSK", new ModemBPSK);
Modem::addModemFactory("DPSK", new ModemDPSK);
Modem::addModemFactory("OOK", new ModemOOK);
Modem::addModemFactory("PSK", new ModemPSK);
Modem::addModemFactory("QAM", new ModemQAM);
Modem::addModemFactory("QPSK", new ModemQPSK);
Modem::addModemFactory("SQAM", new ModemSQAM);
Modem::addModemFactory("ST", new ModemST);
frequency = wxGetApp().getConfig()->getCenterFreq();
offset = 0;
ppm = 0;

View File

@ -28,6 +28,7 @@
#include "SpectrumVisualDataThread.h"
#include "SDRDevices.h"
#include "Modem.h"
#include "ModemFM.h"
#include "ModemFMStereo.h"
#include "ModemAM.h"
@ -36,6 +37,17 @@
#include "ModemDSB.h"
#include "ModemIQ.h"
#include "ModemAPSK.h"
#include "ModemASK.h"
#include "ModemBPSK.h"
#include "ModemDPSK.h"
#include "ModemOOK.h"
#include "ModemPSK.h"
#include "ModemQAM.h"
#include "ModemQPSK.h"
#include "ModemSQAM.h"
#include "ModemST.h"
#include <wx/cmdline.h>
#define NUM_DEMODULATORS 1