VVSDK
1.0
The VVAmbisonic Library
|
#include <VVAmbisonic.h>
Public Member Functions | |
VVDecode (long sampleRate) | |
~VVDecode () | |
int | setProgram (int program) |
int | setProgram (const char *programName) |
void | getCurProgramName (char *programName) |
void | setAmbiFormat (int fmt) |
bool | canProcess () |
int | getNumOutputs () |
void | process (float **inBufs, float **outBufs, long numSamples) |
Public Member Functions inherited from VVAmbisonic::VVPlugin | |
VVPlugin (long sampleRate) | |
virtual | ~VVPlugin () |
Linear Ambisonic Decoder. Converts B-Format into speaker feeds using a virtual microphone paradigm to specify the decode parameters
VVAmbisonic::VVDecode::VVDecode | ( | long | sampleRate | ) |
Constructor
VVAmbisonic::VVDecode::~VVDecode | ( | ) |
Destructor
|
virtual |
Always true
Implements VVAmbisonic::VVPlugin.
void VVAmbisonic::VVDecode::getCurProgramName | ( | char * | programName | ) |
Returns the name of the currently selected program.
int VVAmbisonic::VVDecode::getNumOutputs | ( | ) |
Returns the number of outputs used by the currently selected program. Can vary from 1 to 8.
|
virtual |
Process audio blocks. Will always take 4 channels in. Number of output channels varies.
Implements VVAmbisonic::VVPlugin.
|
virtual |
Sets the ambisonic format to FuMa or ACN/SN3D
Implements VVAmbisonic::VVPlugin.
int VVAmbisonic::VVDecode::setProgram | ( | int | program | ) |
Selects one of the available programs by number.
int VVAmbisonic::VVDecode::setProgram | ( | const char * | programName | ) |
Selects one of the available programs by name e.g. XY, 5.1 or Cube.