9 #ifndef __VVAMBISONIC_H_INCLUDED
10 #define __VVAMBISONIC_H_INCLUDED
12 #if defined(_WIN32) || defined(_WIN64)
14 #define impexp_spec // __declspec(dllexport)
16 #define impexp_spec //__declspec(dllimport)
24 #define BUFFERLEN (512)
26 #define NUMPROGRAMS (8)
27 #define MAXNAMESIZE (32)
32 #ifdef VVHAS_PARAMETRIC_DECODER
35 #ifdef VVHAS_SYNTH_BINAURAL
51 virtual void setAmbiFormat(
int fmt) = 0;
53 virtual void process(
float **inBufs,
float **outBufs,
long numSamples) = 0;
62 VVTetra(
long sampleRate,
const char* calibrationFilePath);
67 void setAmbiFormat(
int fmt);
70 void process(
float **inBufs,
float **outBufs,
long numSamples);
73 void generateImpulses(
int blockSize,
float** output);
87 void setMirrors(
bool mX,
bool mY,
bool mZ);
88 void setAngles(
float rotate,
float tilt,
float tumble);
90 void setAmbiFormat(
int fmt);
92 void process(
float **inBufs,
float **outBufs,
long numSamples);
93 void processFast(
float **inBufs,
float **outBufs,
long numSamples);
110 void setAmbiFormat(
int fmt);
113 void process(
float **inBufs,
float **outBufs,
long numSamples);
118 #ifdef VVHAS_PARAMETRIC_DECODER
125 VVDecodeP(
long sampleRate);
130 void setAmbiFormat(
int fmt);
133 void setHRIRSubject(
int subjBect);
134 int getHRIRSubjects(
const int **subjectList);
136 void process(
float **inBufs,
float **outBufs,
long numSamples);
138 AVVDecode2 *m_AVVDecodeP;
142 #ifdef VVHAS_SYNTH_BINAURAL
149 VVBinaural(
long sampleRate,
const char* HRIRPath,
int subjNum);
154 void setAmbiFormat(
int fmt);
156 void process(
float **inBufs,
float **outBufs,
long numSamples);
158 AVVBinaural *m_AVVBinaural;
EXPORTED_FUNCTION void process(float *a, float *b, float *c, float *d, long numSamples)
Definition: VVTetraC.cpp:108
Definition: VVAmbisonic.h:102
Definition: AVVTetra.h:20
Definition: AVVDecode.h:19
Definition: VVAmbisonic.h:59
EXPORTED_FUNCTION void getCurProgramName(char *programName)
Definition: VVTetraC.cpp:56
Definition: VVAmbisonic.cpp:25
Definition: AVVRotate.h:12
#define impexp_spec
Definition: VVAmbisonic.h:19
Definition: VVAmbisonic.h:82
EXPORTED_FUNCTION int setProgram(int program)
Definition: VVTetraC.cpp:42
Definition: VVAmbisonic.h:46
EXPORTED_FUNCTION bool canProcess()
Definition: VVTetraC.cpp:95
EXPORTED_FUNCTION void setAddressMode(short mode)
Definition: VVTetraC.cpp:82