25#ifndef __MULTICONV_INTERNAL_H_INCLUDED__
26#define __MULTICONV_INTERNAL_H_INCLUDED__
40#define MIN_FRAME_SIZE ( 512 )
41#define MAX_FRAME_SIZE ( 8192 )
48typedef struct _multiconv
A multi-channel convolver.
Main include header for the Spatial_Audio_Framework (SAF)
Include header for SAF externals.
Main structure for multiconv.
int hostBlockSize_clamped
Clamped between MIN_FRAME_SIZE and MAX_FRAME_SIZE.
int nfilters
Current number of FIR filters.
void * hMultiConv
convolver handle
float ** outFIFO
Output FIFO buffer.
int nChannels
Current number of input/output channels.
int filter_length
length of the filters (input_wav_length/nInputChannels)
int host_fs
current samplerate of the host
int filter_fs
current samplerate of the filters
int FIFO_idx
FIFO buffer index.
int hostBlockSize
current host block size
float * filters
FLAT: nfilters x filter_length.
float ** inputFrameTD
Input buffer; MAX_NUM_CHANNELS x hostBlockSize_clamped.
float ** outputFrameTD
Output buffer; MAX_NUM_CHANNELS x hostBlockSize_clamped.
float ** inFIFO
Input FIFO buffer.
int enablePartitionedConv
1: enable partitioned convolution, 0: regular convolution (fft over the length of the filter)
int reInitFilters
FLAG: 0: do not reinit, 1: reinit, 2: reinit in progress.