SoDaRadio-5.0.3-master:8901fb5
Macros | Functions
OSFilter_Test.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 <stdio.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#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 OSFilter_Test.cxx.

Referenced by add_sig().

Function Documentation

◆ add_sig()

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

Definition at line 92 of file OSFilter_Test.cxx.

References SAMPLE_RATE.

◆ buildFilterMap()

SoDa::OSFilter** buildFilterMap ( int  inbuflen)

Definition at line 60 of file OSFilter_Test.cxx.

References SoDa::OSFilter::dump().

Referenced by main().

◆ curtime()

double curtime ( )

Definition at line 47 of file OSFilter_Test.cxx.

◆ main()

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

Definition at line 107 of file OSFilter_Test.cxx.

References SoDa::OSFilter::apply(), and buildFilterMap().