SoDaRadio-5.0.3-master:8901fb5
|
Resampler for 48KHz to 625KHz data stream, built on rational ReSampler class. More...
#include <ReSamplers625x48.hxx>
Public Member Functions | |
ReSample48to625 (unsigned int inbufsize, float gain=1.0) | |
Constructor. More... | |
~ReSample48to625 () | |
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 * | rs54a |
SoDa::ReSampler * | rs54b |
SoDa::ReSampler * | rs53 |
SoDa::ReSampler * | rs51 |
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 48KHz to 625KHz data stream, built on rational ReSampler class.
Definition at line 42 of file ReSamplers625x48.hxx.
SoDa::ReSample48to625::ReSample48to625 | ( | unsigned int | inbufsize, |
float | gain = 1.0 |
||
) |
SoDa::ReSample48to625::~ReSample48to625 | ( | ) |
void SoDa::ReSample48to625::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 82 of file ReSamplers625x48.cxx.
References SoDa::ReSampler::apply(), gain, inter1, inter2, rs51, rs53, rs54a, and rs54b.
Referenced by SoDa::BaseBandTX::modulateAM(), and SoDa::BaseBandTX::modulateFM().
void SoDa::ReSample48to625::apply | ( | float * | in, |
float * | out | ||
) |
Perform the resampling on a real float buffer.
in | input buffer |
out | output buffer |
Definition at line 90 of file ReSamplers625x48.cxx.
References SoDa::ReSampler::apply(), finter1, finter2, gain, rs51, rs53, rs54a, and rs54b.
|
private |
Definition at line 73 of file ReSamplers625x48.hxx.
Referenced by apply(), and ReSample48to625().
|
private |
Definition at line 73 of file ReSamplers625x48.hxx.
Referenced by apply(), and ReSample48to625().
|
private |
the gain to be applied to the final transform result.
Definition at line 75 of file ReSamplers625x48.hxx.
Referenced by apply(), and ReSample48to625().
|
private |
Definition at line 72 of file ReSamplers625x48.hxx.
Referenced by apply(), and ReSample48to625().
|
private |
Definition at line 72 of file ReSamplers625x48.hxx.
Referenced by apply(), and ReSample48to625().
|
private |
Definition at line 66 of file ReSamplers625x48.hxx.
Referenced by ReSample48to625().
|
private |
Definition at line 66 of file ReSamplers625x48.hxx.
Referenced by ReSample48to625().
|
private |
Definition at line 69 of file ReSamplers625x48.hxx.
Referenced by apply(), ReSample48to625(), and ~ReSample48to625().
|
private |
Definition at line 69 of file ReSamplers625x48.hxx.
Referenced by apply(), ReSample48to625(), and ~ReSample48to625().
|
private |
Definition at line 69 of file ReSamplers625x48.hxx.
Referenced by apply(), ReSample48to625(), and ~ReSample48to625().
|
private |
Definition at line 69 of file ReSamplers625x48.hxx.
Referenced by apply(), ReSample48to625(), and ~ReSample48to625().