Ardour  9.0-pre0-582-g084a23a80d
ArdourZita::Resampler Class Reference

#include <resampler.h>

Public Member Functions

 Resampler (void)
 
 ~Resampler (void)
 
int setup (unsigned int fs_inp, unsigned int fs_out, unsigned int nchan, unsigned int hlen)
 
int setup (unsigned int fs_inp, unsigned int fs_out, unsigned int nchan, unsigned int hlen, double frel)
 
void clear (void)
 
int reset (void)
 
int nchan (void) const
 
int inpsize (void) const
 
double inpdist (void) const
 
int process (void)
 

Public Attributes

unsigned int inp_count
 
unsigned int out_count
 
float * inp_data
 
float * out_data
 
void * inp_list
 
void * out_list
 

Private Attributes

Resampler_table_table
 
unsigned int _nchan
 
unsigned int _inmax
 
unsigned int _index
 
unsigned int _nread
 
unsigned int _nzero
 
unsigned int _phase
 
unsigned int _pstep
 
float * _buff
 
void * _dummy [8]
 

Detailed Description

Definition at line 29 of file resampler.h.

Constructor & Destructor Documentation

◆ Resampler()

ArdourZita::Resampler::Resampler ( void  )

◆ ~Resampler()

ArdourZita::Resampler::~Resampler ( void  )

Member Function Documentation

◆ clear()

void ArdourZita::Resampler::clear ( void  )

◆ inpdist()

double ArdourZita::Resampler::inpdist ( void  ) const

◆ inpsize()

int ArdourZita::Resampler::inpsize ( void  ) const

◆ nchan()

int ArdourZita::Resampler::nchan ( void  ) const
inline

Definition at line 50 of file resampler.h.

◆ process()

int ArdourZita::Resampler::process ( void  )

◆ reset()

int ArdourZita::Resampler::reset ( void  )

◆ setup() [1/2]

int ArdourZita::Resampler::setup ( unsigned int  fs_inp,
unsigned int  fs_out,
unsigned int  nchan,
unsigned int  hlen 
)

◆ setup() [2/2]

int ArdourZita::Resampler::setup ( unsigned int  fs_inp,
unsigned int  fs_out,
unsigned int  nchan,
unsigned int  hlen,
double  frel 
)

Member Data Documentation

◆ _buff

float* ArdourZita::Resampler::_buff
private

Definition at line 72 of file resampler.h.

◆ _dummy

void* ArdourZita::Resampler::_dummy[8]
private

Definition at line 73 of file resampler.h.

◆ _index

unsigned int ArdourZita::Resampler::_index
private

Definition at line 67 of file resampler.h.

◆ _inmax

unsigned int ArdourZita::Resampler::_inmax
private

Definition at line 66 of file resampler.h.

◆ _nchan

unsigned int ArdourZita::Resampler::_nchan
private

Definition at line 65 of file resampler.h.

◆ _nread

unsigned int ArdourZita::Resampler::_nread
private

Definition at line 68 of file resampler.h.

◆ _nzero

unsigned int ArdourZita::Resampler::_nzero
private

Definition at line 69 of file resampler.h.

◆ _phase

unsigned int ArdourZita::Resampler::_phase
private

Definition at line 70 of file resampler.h.

◆ _pstep

unsigned int ArdourZita::Resampler::_pstep
private

Definition at line 71 of file resampler.h.

◆ _table

Resampler_table* ArdourZita::Resampler::_table
private

Definition at line 64 of file resampler.h.

◆ inp_count

unsigned int ArdourZita::Resampler::inp_count

Definition at line 55 of file resampler.h.

◆ inp_data

float* ArdourZita::Resampler::inp_data

Definition at line 57 of file resampler.h.

◆ inp_list

void* ArdourZita::Resampler::inp_list

Definition at line 59 of file resampler.h.

◆ out_count

unsigned int ArdourZita::Resampler::out_count

Definition at line 56 of file resampler.h.

◆ out_data

float* ArdourZita::Resampler::out_data

Definition at line 58 of file resampler.h.

◆ out_list

void* ArdourZita::Resampler::out_list

Definition at line 60 of file resampler.h.


The documentation for this class was generated from the following file: