Sample rate reducer.
More...
Sample rate reducer.
◆ tSampleReducer_init()
void tSampleReducer_init |
( |
tSampleReducer * const |
, |
|
|
LEAF *const |
leaf |
|
) |
| |
Initialize a tSampleReducer to the default mempool of a LEAF instance.
- Parameters
-
reducer | A pointer to the tSampleReducer to initialize. |
leaf | A pointer to the leaf instance. |
◆ tSampleReducer_initToPool()
void tSampleReducer_initToPool |
( |
tSampleReducer * const |
, |
|
|
tMempool * const |
|
|
) |
| |
Initialize a tSampleReducer to a specified mempool.
- Parameters
-
reducer | A pointer to the tSampleReducer to initialize. |
mempool | A pointer to the tMempool to use. |
◆ tSampleReducer_free()
void tSampleReducer_free |
( |
tSampleReducer * const |
| ) |
|
Free a tSampleReducer from its mempool.
- Parameters
-
reducer | A pointer to the tSampleReducer to free. |
◆ tSampleReducer_tick()
float tSampleReducer_tick |
( |
tSampleReducer * const |
, |
|
|
float |
input |
|
) |
| |
- Parameters
-
reducer | A pointer to the relevant tSampleReducer. |
◆ tSampleReducer_setRatio()
void tSampleReducer_setRatio |
( |
tSampleReducer * const |
, |
|
|
float |
ratio |
|
) |
| |
- Parameters
-
reducer | A pointer to the relevant tSampleReducer.  |