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

#include <cresampler.h>

Public Member Functions

 CResampler (void)
 
 ~CResampler (void)
 
int setup (double ratio, unsigned int nchan)
 
void clear (void)
 
int reset (void)
 
int nchan (void) const
 
int inpsize (void) const
 
double inpdist (void) const
 
int process (void)
 
void set_ratio (double r)
 
void set_phase (double p)
 

Public Attributes

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

Private Attributes

unsigned int _nchan
 
unsigned int _inmax
 
unsigned int _index
 
unsigned int _nread
 
unsigned int _nzero
 
double _phase
 
double _pstep
 
float * _buff
 

Detailed Description

Definition at line 28 of file cresampler.h.

Constructor & Destructor Documentation

◆ CResampler()

ArdourZita::CResampler::CResampler ( void  )

◆ ~CResampler()

ArdourZita::CResampler::~CResampler ( void  )

Member Function Documentation

◆ clear()

void ArdourZita::CResampler::clear ( void  )

◆ inpdist()

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

◆ inpsize()

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

◆ nchan()

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

Definition at line 38 of file cresampler.h.

◆ process()

int ArdourZita::CResampler::process ( void  )

◆ reset()

int ArdourZita::CResampler::reset ( void  )

◆ set_phase()

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

◆ set_ratio()

void ArdourZita::CResampler::set_ratio ( double  r)

◆ setup()

int ArdourZita::CResampler::setup ( double  ratio,
unsigned int  nchan 
)

Member Data Documentation

◆ _buff

float* ArdourZita::CResampler::_buff
private

Definition at line 61 of file cresampler.h.

◆ _index

unsigned int ArdourZita::CResampler::_index
private

Definition at line 56 of file cresampler.h.

◆ _inmax

unsigned int ArdourZita::CResampler::_inmax
private

Definition at line 55 of file cresampler.h.

◆ _nchan

unsigned int ArdourZita::CResampler::_nchan
private

Definition at line 54 of file cresampler.h.

◆ _nread

unsigned int ArdourZita::CResampler::_nread
private

Definition at line 57 of file cresampler.h.

◆ _nzero

unsigned int ArdourZita::CResampler::_nzero
private

Definition at line 58 of file cresampler.h.

◆ _phase

double ArdourZita::CResampler::_phase
private

Definition at line 59 of file cresampler.h.

◆ _pstep

double ArdourZita::CResampler::_pstep
private

Definition at line 60 of file cresampler.h.

◆ inp_count

unsigned int ArdourZita::CResampler::inp_count

Definition at line 46 of file cresampler.h.

◆ inp_data

float* ArdourZita::CResampler::inp_data

Definition at line 48 of file cresampler.h.

◆ inp_list

void* ArdourZita::CResampler::inp_list

Definition at line 50 of file cresampler.h.

◆ out_count

unsigned int ArdourZita::CResampler::out_count

Definition at line 47 of file cresampler.h.

◆ out_data

float* ArdourZita::CResampler::out_data

Definition at line 49 of file cresampler.h.

◆ out_list

void* ArdourZita::CResampler::out_list

Definition at line 51 of file cresampler.h.


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