36#ifndef __DECORRELATOR_H_INCLUDED__
37#define __DECORRELATOR_H_INCLUDED__
102 const float *
const * inputs,
103 float*
const* outputs,
A bunch of things that are common to many of the saf examples.
CODEC_STATUS
Current status of the codec.
void decorrelator_process(void *const hDecor, const float *const *inputs, float *const *outputs, int nInputs, int nOutputs, int nSamples)
Decorrelates the input signals.
int decorrelator_getLevelCompensationFlag(void *const hDecor)
Returns whether to apply level compensation (0 or 1)
void decorrelator_setDecorrelationAmount(void *const hDecor, float newValue)
Sets the decorrelation amount [0..1].
int decorrelator_getFrameSize(void)
Returns the processing framesize (i.e., number of samples processed with every _process() call )
int decorrelator_getProcessingDelay(void)
Returns the processing delay in samples (may be used for delay compensation features)
void decorrelator_refreshParams(void *const hDecor)
Sets intialisation flags to 1, so as to re-initialise all settings/variables (as decorrelator is curr...
int decorrelator_getDAWsamplerate(void *const hDecor)
Returns the DAW/Host sample rate.
int decorrelator_getTransientBypassFlag(void *const hDecor)
Returns whether to bypass decorrelating the transients (0 or 1)
void decorrelator_setLevelCompensationFlag(void *const hDecor, int newValue)
Sets whether to apply level compensation (0 or 1)
void decorrelator_destroy(void **const phDecor)
Destroys an instance of decorrelator.
float decorrelator_getProgressBar0_1(void *const hDecor)
(Optional) Returns current intialisation/processing progress, between 0..1
void decorrelator_getProgressBarText(void *const hDecor, char *text)
(Optional) Returns current intialisation/processing progress text
void decorrelator_setTransientBypassFlag(void *const hDecor, int newValue)
Sets whether to bypass decorrelating the transients (0 or 1)
void decorrelator_setNumberOfChannels(void *const hDecor, int newValue)
Sets the number of input/output channels.
CODEC_STATUS decorrelator_getCodecStatus(void *const hDecor)
Returns current codec status, see CODEC_STATUS enum.
int decorrelator_getNumberOfChannels(void *const hDecor)
Returns the number of input/output channels.
void decorrelator_create(void **const phDecor)
Creates an instance of decorrelator.
float decorrelator_getDecorrelationAmount(void *const hDecor)
Returns the decorrelation amount [0..1].
void decorrelator_init(void *const hDecor, int samplerate)
Initialises decorrelator with default settings, and samplerate.
void decorrelator_initCodec(void *const hDecor)
Intialises the codec variables, based on current global/user parameters.