Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

clFFTInterpolator Class Reference

FFT interpolation filter class implementation. More...

#include <FFTInterpolator.hh>

Inheritance diagram for clFFTInterpolator:

Inheritance graph
[legend]
Collaboration diagram for clFFTInterpolator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 clFFTInterpolator ()
 ~clFFTInterpolator ()
void Uninitialize ()
 Uninitialize interpolator.

void Put (const float *, long)
 Feed data into interpolator.

void Put (const double *, long)
bool Get (float *, long)
 Get data from interpolator.

bool Get (double *, long)

Private Attributes

clDSPAlloc IntBuf
clDSPOp DSP

Detailed Description

FFT interpolation filter class implementation.

Data is interpolated and then filtered using FFT filter.

Definition at line 36 of file FFTInterpolator.hh.


Constructor & Destructor Documentation

clFFTInterpolator::clFFTInterpolator  ) 
 

Definition at line 34 of file FFTInterpolator.cc.

clFFTInterpolator::~clFFTInterpolator  ) 
 

Definition at line 39 of file FFTInterpolator.cc.

References Uninitialize().


Member Function Documentation

void clFFTInterpolator::Uninitialize  ) 
 

Uninitialize interpolator.

Reimplemented from clFFTMultiRate.

Definition at line 45 of file FFTInterpolator.cc.

References clAlloc::Free(), IntBuf, and clFFTMultiRate::Uninitialize().

Referenced by clRecInterpolator::Uninitialize(), and ~clFFTInterpolator().

void clFFTInterpolator::Put const float *  ,
long 
 

Feed data into interpolator.

Parameters:
SrcData Source data
SrcCount Source data count

Definition at line 52 of file FFTInterpolator.cc.

References IntBuf, clDSPOp::Interpolate(), clFilter::Put(), and clAlloc::Size().

Referenced by clRecInterpolator::Put().

void clFFTInterpolator::Put const double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 64 of file FFTInterpolator.cc.

References IntBuf, clDSPOp::Interpolate(), clFilter::Put(), and clAlloc::Size().

bool clFFTInterpolator::Get float *  ,
long 
 

Get data from interpolator.

Returns false if there's not enough data feeded into the interpolator.

Parameters:
DestData Destination buffer
DestCount Number of samples
Returns:
Data was available?

Definition at line 76 of file FFTInterpolator.cc.

References clFilter::Get().

Referenced by clRecInterpolator::Get(), and clRecInterpolator::Put().

bool clFFTInterpolator::Get double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 82 of file FFTInterpolator.cc.

References clFilter::Get().


Member Data Documentation

clDSPAlloc clFFTInterpolator::IntBuf [private]
 

Definition at line 38 of file FFTInterpolator.hh.

Referenced by Put(), and Uninitialize().

clDSPOp clFFTInterpolator::DSP [private]
 

Definition at line 39 of file FFTInterpolator.hh.


The documentation for this class was generated from the following files:
Generated on Tue Mar 2 19:47:09 2004 for libDSP by doxygen 1.3.6