Ardour  9.0-pre0-427-gd2a3450e2f
ArdourZita::VResampler Class Reference

#include <vresampler.h>

Public Member Functions

 VResampler (void)
 
 ~VResampler (void)
 
int setup (double ratio, unsigned int nchan, unsigned int hlen)
 
int setup (double ratio, 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)
 
void set_phase (double p)
 
void set_rrfilt (double t)
 
void set_rratio (double r)
 

Public Attributes

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

Private Types

enum  { NPHASE = 256 }
 

Private Attributes

Resampler_table_table
 
unsigned int _nchan
 
unsigned int _inmax
 
unsigned int _index
 
unsigned int _nread
 
unsigned int _nzero
 
double _ratio
 
double _phase
 
double _pstep
 
double _qstep
 
double _wstep
 
float * _buff
 
float * _c1
 
float * _c2
 
void * _dummy [8]
 

Detailed Description

Definition at line 29 of file vresampler.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
NPHASE 

Definition at line 63 of file vresampler.h.

Constructor & Destructor Documentation

◆ VResampler()

ArdourZita::VResampler::VResampler ( void  )

◆ ~VResampler()

ArdourZita::VResampler::~VResampler ( void  )

Member Function Documentation

◆ clear()

void ArdourZita::VResampler::clear ( void  )

◆ inpdist()

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

◆ inpsize()

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

◆ nchan()

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

Definition at line 46 of file vresampler.h.

◆ process()

int ArdourZita::VResampler::process ( void  )

◆ reset()

int ArdourZita::VResampler::reset ( void  )

◆ set_phase()

void ArdourZita::VResampler::set_phase ( double  p)

◆ set_rratio()

void ArdourZita::VResampler::set_rratio ( double  r)

◆ set_rrfilt()

void ArdourZita::VResampler::set_rrfilt ( double  t)

◆ setup() [1/2]

int ArdourZita::VResampler::setup ( double  ratio,
unsigned int  nchan,
unsigned int  hlen 
)

◆ setup() [2/2]

int ArdourZita::VResampler::setup ( double  ratio,
unsigned int  nchan,
unsigned int  hlen,
double  frel 
)

Member Data Documentation

◆ _buff

float* ArdourZita::VResampler::_buff
private

Definition at line 76 of file vresampler.h.

◆ _c1

float* ArdourZita::VResampler::_c1
private

Definition at line 77 of file vresampler.h.

◆ _c2

float* ArdourZita::VResampler::_c2
private

Definition at line 78 of file vresampler.h.

◆ _dummy

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

Definition at line 79 of file vresampler.h.

◆ _index

unsigned int ArdourZita::VResampler::_index
private

Definition at line 68 of file vresampler.h.

◆ _inmax

unsigned int ArdourZita::VResampler::_inmax
private

Definition at line 67 of file vresampler.h.

◆ _nchan

unsigned int ArdourZita::VResampler::_nchan
private

Definition at line 66 of file vresampler.h.

◆ _nread

unsigned int ArdourZita::VResampler::_nread
private

Definition at line 69 of file vresampler.h.

◆ _nzero

unsigned int ArdourZita::VResampler::_nzero
private

Definition at line 70 of file vresampler.h.

◆ _phase

double ArdourZita::VResampler::_phase
private

Definition at line 72 of file vresampler.h.

◆ _pstep

double ArdourZita::VResampler::_pstep
private

Definition at line 73 of file vresampler.h.

◆ _qstep

double ArdourZita::VResampler::_qstep
private

Definition at line 74 of file vresampler.h.

◆ _ratio

double ArdourZita::VResampler::_ratio
private

Definition at line 71 of file vresampler.h.

◆ _table

Resampler_table* ArdourZita::VResampler::_table
private

Definition at line 65 of file vresampler.h.

◆ _wstep

double ArdourZita::VResampler::_wstep
private

Definition at line 75 of file vresampler.h.

◆ inp_count

unsigned int ArdourZita::VResampler::inp_count

Definition at line 55 of file vresampler.h.

◆ inp_data

float* ArdourZita::VResampler::inp_data

Definition at line 57 of file vresampler.h.

◆ inp_list

void* ArdourZita::VResampler::inp_list

Definition at line 59 of file vresampler.h.

◆ out_count

unsigned int ArdourZita::VResampler::out_count

Definition at line 56 of file vresampler.h.

◆ out_data

float* ArdourZita::VResampler::out_data

Definition at line 58 of file vresampler.h.

◆ out_list

void* ArdourZita::VResampler::out_list

Definition at line 60 of file vresampler.h.


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