1
/***************************************************************************
2
cmodulator.h - description
4
begin : Mon Aug 20 2001
5
copyright : (C) 2001 by Volker Schroer
7
***************************************************************************/
9
/***************************************************************************
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
***************************************************************************/
21
#include "parameter.h"
22
#include "ctxdisplay.h"
24
/**Base Class for all possible transmit types
25
*@author Volker Schroer
29
class CModulator : public QObject
33
CModulator(int FS,CTxdisplay *);
36
/** Calculate the Signal to be fed into the soundcard */
37
virtual unsigned int CalcSignal(double *data,int BufferSize) = 0;
38
/** data Pointer to the computed signal values
39
Size of Buffer for the computed signal
40
returns Number of computed signal values */
42
protected: // Protected attributes
43
/** Samplerate of Soundcard */