SoDaRadio-5.0.3-master:8901fb5
Macros | Functions
OneFilterTest.cxx File Reference
#include <complex>
#include <iostream>
#include <fstream>
#include <stdlib.h>
#include "OSFilter.hxx"
#include <time.h>
#include <fftw3.h>
#include <math.h>
#include <boost/format.hpp>
#include <sys/time.h>
#include "SoDa_filter_tables.hxx"

Go to the source code of this file.

Macros

#define SAMPLE_RATE   48000
 

Functions

double curtime ()
 
SoDa::OSFilter ** buildFilterMap (int inbuflen)
 
void add_sig (complex< float > *in, float freq, int len, float acc)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ SAMPLE_RATE

#define SAMPLE_RATE   48000

Definition at line 28 of file OneFilterTest.cxx.

Referenced by add_sig().

Function Documentation

◆ add_sig()

void add_sig ( complex< float > *  in,
float  freq,
int  len,
float  acc 
)

Definition at line 89 of file OneFilterTest.cxx.

References SAMPLE_RATE.

◆ buildFilterMap()

SoDa::OSFilter** buildFilterMap ( int  inbuflen)

Definition at line 58 of file OneFilterTest.cxx.

References SoDa::OSFilter::dump().

◆ curtime()

double curtime ( )

Definition at line 45 of file OneFilterTest.cxx.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 104 of file OneFilterTest.cxx.

References SoDa::OSFilter::apply().