You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
848 B
34 lines
848 B
/*
|
|
* Copyright (C) 2009,2013 by Jonathan Naylor, G4KLX
|
|
*
|
|
* 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; version 2 of the License.
|
|
*
|
|
* 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 for more details.
|
|
*/
|
|
|
|
#ifndef DStarGMSKModulator_H
|
|
#define DStarGMSKModulator_H
|
|
|
|
#include "FIRFilter.h"
|
|
|
|
class CDStarGMSKModulator {
|
|
public:
|
|
CDStarGMSKModulator();
|
|
~CDStarGMSKModulator();
|
|
|
|
unsigned int code(bool bit, wxFloat32* buffer, unsigned int length);
|
|
|
|
void setInvert(bool set);
|
|
|
|
private:
|
|
CFIRFilter m_filter;
|
|
bool m_invert;
|
|
};
|
|
|
|
#endif
|