VVSDK
1.0
The VVAmbisonic Library
|
Macros | |
#define | EXPORT_FCNS |
Functions | |
EXPORTED_FUNCTION void | AllocateVVTetra (long sampleRate, const char *calibrationFilePath) |
EXPORTED_FUNCTION void | FreeAVVTetra () |
EXPORTED_FUNCTION void | reloadCalibrations (const char *calibrationPath) |
EXPORTED_FUNCTION void | getCalibrationPath (char *calibrationPath) |
EXPORTED_FUNCTION int | setProgram (int program) |
EXPORTED_FUNCTION int | setProgramByName (const char *programName) |
EXPORTED_FUNCTION void | getCurProgramName (char *programName) |
EXPORTED_FUNCTION int | getNumPrograms () |
EXPORTED_FUNCTION int | getCurProgram () |
EXPORTED_FUNCTION void | getProgramName (int program, char *programName) |
EXPORTED_FUNCTION void | setAddressMode (short mode) |
EXPORTED_FUNCTION short | getAddressMode () |
EXPORTED_FUNCTION bool | canProcess () |
EXPORTED_FUNCTION void | setSampleRate (long sampleRate) |
EXPORTED_FUNCTION void | process (float *a, float *b, float *c, float *d, long numSamples) |
Variables | |
AVVTetra * | vvTetra = NULL |
#define EXPORT_FCNS |
EXPORTED_FUNCTION void AllocateVVTetra | ( | long | sampleRate, |
const char * | calibrationFilePath | ||
) |
Calibration path is a directory where calibration files are found. Will use default locations if NULL or empty.
calibrationFilePath | Calibration path is a directory where calibration files are found. Will use default locations if NULL or empty. |
EXPORTED_FUNCTION bool canProcess | ( | ) |
Checks that the selected calibration has filters for the current sampling rate.
EXPORTED_FUNCTION void FreeAVVTetra | ( | ) |
Destructor
EXPORTED_FUNCTION short getAddressMode | ( | ) |
Returns the currend normal or end-fire mode
EXPORTED_FUNCTION void getCalibrationPath | ( | char * | calibrationPath | ) |
Gets the current calibration path
calibrationPath | Gets the current calibration path |
EXPORTED_FUNCTION int getCurProgram | ( | ) |
Returns the index of the currently selected program
EXPORTED_FUNCTION void getCurProgramName | ( | char * | programName | ) |
Returns the name of the currently selected program.
programName | Returns the name of the currently selected program. |
EXPORTED_FUNCTION int getNumPrograms | ( | ) |
Returns the number of available programs
EXPORTED_FUNCTION void getProgramName | ( | int | program, |
char * | programName | ||
) |
Returns the name of the indicated program or an empty string if invalid
programName | Returns the name of the indicated program or an empty string if invalid |
EXPORTED_FUNCTION void process | ( | float * | a, |
float * | b, | ||
float * | c, | ||
float * | d, | ||
long | numSamples | ||
) |
Processes blocks of audio. Will always take 4 channels in and 4 channels out.
numSamples | Processes blocks of audio. Will always take 4 channels in and 4 channels out. |
EXPORTED_FUNCTION void reloadCalibrations | ( | const char * | calibrationPath | ) |
Sets the calibration path then clears and reloads all calibrations
calibrationPath | Sets the calibration path then clears and reloads all calibrations |
EXPORTED_FUNCTION void setAddressMode | ( | short | mode | ) |
Sets processing to normal or end-fire modes
mode | Sets processing to normal or end-fire modes |
EXPORTED_FUNCTION int setProgram | ( | int | program | ) |
Selects one of the available programs by enum.
program | Selects one of the available programs by enum. |
EXPORTED_FUNCTION int setProgramByName | ( | const char * | programName | ) |
Selects one of the available programs by name. Usually a TetraMic serial number like 2003.
programName | Selects one of the available programs by name. Usually a TetraMic serial number like 2003. |
EXPORTED_FUNCTION void setSampleRate | ( | long | sampleRate | ) |
Sets the sample rate and chooses appropriate filters. Check canProcess to see if filters are found.
AVVTetra* vvTetra = NULL |