|
SoDaRadio-5.0.3-master:8901fb5
|
Resampler for 625KHz to 48KHz data stream, built on rational ReSampler class. More...
#include <ReSamplers625x48.hxx>
Public Member Functions | |
| ReSample625to48 (unsigned int inbufsize, float _gain=1.0) | |
| Constructor. More... | |
| ~ReSample625to48 () | |
| void | apply (std::complex< float > *in, std::complex< float > *out) |
| Perform the resampling on a complex float buffer. More... | |
| void | apply (float *in, float *out) |
| Perform the resampling on a real float buffer. More... | |
Public Member Functions inherited from SoDa::SoDaBase | |
| SoDaBase (const std::string &oname) | |
| The constructor – pass a name for the object. More... | |
| std::string & | getObjName () |
| get the name of this object More... | |
| SoDaBase * | findSoDaObject (const std::string &oname) |
| find a SoDa Object by name. More... | |
| double | getTime () |
| Get a time stamp in nS resolution that monotonically increases and that is very inexpensive (typically < 100nS). More... | |
Private Attributes | |
| unsigned int | N |
| unsigned int | MN |
| SoDa::ReSampler * | rs45a |
| SoDa::ReSampler * | rs45b |
| SoDa::ReSampler * | rs35 |
| SoDa::ReSampler * | rs15 |
| std::complex< float > * | inter1 |
| std::complex< float > * | inter2 |
| float * | finter1 |
| float * | finter2 |
| float | gain |
| the gain to be applied to the final transform result. More... | |
Resampler for 625KHz to 48KHz data stream, built on rational ReSampler class.
Definition at line 81 of file ReSamplers625x48.hxx.
| SoDa::ReSample625to48::ReSample625to48 | ( | unsigned int | inbufsize, |
| float | _gain = 1.0 |
||
| ) |
| SoDa::ReSample625to48::~ReSample625to48 | ( | ) |
| void SoDa::ReSample625to48::apply | ( | std::complex< float > * | in, |
| std::complex< float > * | out | ||
| ) |
Perform the resampling on a complex float buffer.
| in | input buffer |
| out | output buffer |
Definition at line 146 of file ReSamplers625x48.cxx.
References SoDa::ReSampler::apply(), gain, inter1, inter2, rs15, rs35, rs45a, and rs45b.
Referenced by aliasingPlot(), SoDa::BaseBandRX::demodulate(), SoDa::BaseBandRX::demodulateWBFM(), and test625x48().
| void SoDa::ReSample625to48::apply | ( | float * | in, |
| float * | out | ||
| ) |
Perform the resampling on a real float buffer.
| in | input buffer |
| out | output buffer |
Definition at line 154 of file ReSamplers625x48.cxx.
References SoDa::ReSampler::apply(), finter1, finter2, gain, rs15, rs35, rs45a, and rs45b.
|
private |
Definition at line 113 of file ReSamplers625x48.hxx.
Referenced by apply(), and ReSample625to48().
|
private |
Definition at line 113 of file ReSamplers625x48.hxx.
Referenced by apply(), and ReSample625to48().
|
private |
the gain to be applied to the final transform result.
Definition at line 115 of file ReSamplers625x48.hxx.
Referenced by apply(), and ReSample625to48().
|
private |
Definition at line 112 of file ReSamplers625x48.hxx.
Referenced by apply(), and ReSample625to48().
|
private |
Definition at line 112 of file ReSamplers625x48.hxx.
Referenced by apply(), and ReSample625to48().
|
private |
Definition at line 106 of file ReSamplers625x48.hxx.
Referenced by ReSample625to48().
|
private |
Definition at line 106 of file ReSamplers625x48.hxx.
Referenced by ReSample625to48().
|
private |
Definition at line 109 of file ReSamplers625x48.hxx.
Referenced by apply(), ReSample625to48(), and ~ReSample625to48().
|
private |
Definition at line 109 of file ReSamplers625x48.hxx.
Referenced by apply(), ReSample625to48(), and ~ReSample625to48().
|
private |
Definition at line 109 of file ReSamplers625x48.hxx.
Referenced by apply(), ReSample625to48(), and ~ReSample625to48().
|
private |
Definition at line 109 of file ReSamplers625x48.hxx.
Referenced by apply(), ReSample625to48(), and ~ReSample625to48().
1.8.13