2017-01-02 21:07:43 -05:00
|
|
|
// Copyright (c) Charles J. Cliffe
|
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
|
2016-05-11 23:05:56 -04:00
|
|
|
#pragma once
|
|
|
|
#include "Modem.h"
|
|
|
|
#include "ModemAnalog.h"
|
|
|
|
|
|
|
|
class ModemNBFM : public ModemAnalog {
|
|
|
|
public:
|
|
|
|
ModemNBFM();
|
|
|
|
~ModemNBFM();
|
|
|
|
|
|
|
|
std::string getName();
|
|
|
|
|
2016-07-24 15:25:17 -04:00
|
|
|
static ModemBase *factory();
|
2016-05-11 23:05:56 -04:00
|
|
|
|
|
|
|
int getDefaultSampleRate();
|
|
|
|
|
|
|
|
void demodulate(ModemKit *kit, ModemIQData *input, AudioThreadInput *audioOut);
|
|
|
|
|
|
|
|
private:
|
|
|
|
freqdem demodFM;
|
|
|
|
};
|