Functions
tOversampler

Oversampler. More...

Functions

void tOversampler_init (tOversampler *const, int order, int extraQuality, LEAF *const leaf)
 Initialize a tOversampler to the default mempool of a LEAF instance. More...
 
void tOversampler_initToPool (tOversampler *const, int order, int extraQuality, tMempool *const)
 Initialize a tOversampler to a specified mempool. More...
 
void tOversampler_free (tOversampler *const)
 Free a tOversampler from its mempool. More...
 
void tOversampler_upsample (tOversampler *const, float input, float *output)
 
float tOversampler_downsample (tOversampler *const os, float *input)
 
float tOversampler_tick (tOversampler *const, float input, float *oversample, float(*effectTick)(float))
 
int tOversampler_getLatency (tOversampler *const os)
 

Detailed Description

Oversampler.

Function Documentation

◆ tOversampler_init()

void tOversampler_init ( tOversampler * const  ,
int  order,
int  extraQuality,
LEAF *const  leaf 
)

Initialize a tOversampler to the default mempool of a LEAF instance.

Parameters
oversamplerA pointer to the tOversampler to initialize.
leafA pointer to the leaf instance.

◆ tOversampler_initToPool()

void tOversampler_initToPool ( tOversampler * const  ,
int  order,
int  extraQuality,
tMempool * const   
)

Initialize a tOversampler to a specified mempool.

Parameters
oversamplerA pointer to the tOversampler to initialize.
mempoolA pointer to the tMempool to use.

◆ tOversampler_free()

void tOversampler_free ( tOversampler * const  )

Free a tOversampler from its mempool.

Parameters
oversamplerA pointer to the tOversampler to free.

◆ tOversampler_upsample()

void tOversampler_upsample ( tOversampler * const  ,
float  input,
float *  output 
)
Parameters
oversamplerA pointer to the relevant tOversampler.

◆ tOversampler_downsample()

float tOversampler_downsample ( tOversampler *const  os,
float *  input 
)
Parameters
oversamplerA pointer to the relevant tOversampler.

◆ tOversampler_tick()

float tOversampler_tick ( tOversampler * const  ,
float  input,
float *  oversample,
float(*)(float)  effectTick 
)
Parameters
oversamplerA pointer to the relevant tOversampler.

◆ tOversampler_getLatency()

int tOversampler_getLatency ( tOversampler *const  os)
Parameters
oversamplerA pointer to the relevant tOversampler.