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

#include <vmresampler.h>

Public Member Functions

 VMResampler (void)
 
 ~VMResampler (void)
 
int setup (unsigned int hlen)
 
int setup (unsigned int hlen, double frel)
 
void clear (void)
 
int reset (void)
 
int inpsize (void) const
 
double inpdist (void) const
 
int process (void)
 
void set_phase (double p)
 
void set_rrfilt (double t)
 
double 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 _inmax
 
unsigned int _index
 
unsigned int _nread
 
double _phase
 
double _pstep
 
double _qstep
 
double _wstep
 
float * _buff
 
float * _c1
 
float * _c2
 
bool _reset
 

Detailed Description

Definition at line 29 of file vmresampler.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
NPHASE 

Definition at line 56 of file vmresampler.h.

Constructor & Destructor Documentation

◆ VMResampler()

ArdourZita::VMResampler::VMResampler ( void  )

◆ ~VMResampler()

ArdourZita::VMResampler::~VMResampler ( void  )

Member Function Documentation

◆ clear()

void ArdourZita::VMResampler::clear ( void  )

◆ inpdist()

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

◆ inpsize()

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

◆ process()

int ArdourZita::VMResampler::process ( void  )

◆ reset()

int ArdourZita::VMResampler::reset ( void  )

◆ set_phase()

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

◆ set_rratio()

double ArdourZita::VMResampler::set_rratio ( double  r)

◆ set_rrfilt()

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

◆ setup() [1/2]

int ArdourZita::VMResampler::setup ( unsigned int  hlen)

◆ setup() [2/2]

int ArdourZita::VMResampler::setup ( unsigned int  hlen,
double  frel 
)

Member Data Documentation

◆ _buff

float* ArdourZita::VMResampler::_buff
private

Definition at line 66 of file vmresampler.h.

◆ _c1

float* ArdourZita::VMResampler::_c1
private

Definition at line 67 of file vmresampler.h.

◆ _c2

float* ArdourZita::VMResampler::_c2
private

Definition at line 68 of file vmresampler.h.

◆ _index

unsigned int ArdourZita::VMResampler::_index
private

Definition at line 60 of file vmresampler.h.

◆ _inmax

unsigned int ArdourZita::VMResampler::_inmax
private

Definition at line 59 of file vmresampler.h.

◆ _nread

unsigned int ArdourZita::VMResampler::_nread
private

Definition at line 61 of file vmresampler.h.

◆ _phase

double ArdourZita::VMResampler::_phase
private

Definition at line 62 of file vmresampler.h.

◆ _pstep

double ArdourZita::VMResampler::_pstep
private

Definition at line 63 of file vmresampler.h.

◆ _qstep

double ArdourZita::VMResampler::_qstep
private

Definition at line 64 of file vmresampler.h.

◆ _reset

bool ArdourZita::VMResampler::_reset
private

Definition at line 69 of file vmresampler.h.

◆ _table

Resampler_table* ArdourZita::VMResampler::_table
private

Definition at line 58 of file vmresampler.h.

◆ _wstep

double ArdourZita::VMResampler::_wstep
private

Definition at line 65 of file vmresampler.h.

◆ inp_count

unsigned int ArdourZita::VMResampler::inp_count

Definition at line 48 of file vmresampler.h.

◆ inp_data

float* ArdourZita::VMResampler::inp_data

Definition at line 50 of file vmresampler.h.

◆ inp_list

void* ArdourZita::VMResampler::inp_list

Definition at line 52 of file vmresampler.h.

◆ out_count

unsigned int ArdourZita::VMResampler::out_count

Definition at line 49 of file vmresampler.h.

◆ out_data

float* ArdourZita::VMResampler::out_data

Definition at line 51 of file vmresampler.h.

◆ out_list

void* ArdourZita::VMResampler::out_list

Definition at line 53 of file vmresampler.h.


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