Allolib
1.0
C++ Components For Interactive Multimedia
|
The StereoPanner class. More...
Public Member Functions | |
StereoPanner (Speakers &sl) | |
virtual void | renderSample (AudioIOData &io, const Pose &listeningPose, const float &sample, const unsigned int &frameIndex) override |
Per Sample Processing. | |
virtual void | renderBuffer (AudioIOData &io, const Pose &listeningPose, const float *samples, const unsigned int &numFrames) override |
Per Buffer Processing. | |
virtual void | compile () |
virtual void | prepare (AudioIOData &io) |
virtual void | finalize (AudioIOData &io) |
virtual void | print (std::ostream &stream=std::cout) |
Print out information about spatializer. | |
int | numSpeakers () const |
Get number of speakers. | |
virtual void | numFrames (unsigned int v) |
Set number of frames. | |
Protected Attributes | |
Speakers | mSpeakers |
std::vector< float > | mBuffer |
unsigned int | mNumFrames {0} |
The StereoPanner class.
Definition at line 20 of file al_StereoPanner.hpp.
|
inlinevirtualinherited |
Perform any necessary updates when the speaker layout changes, ex. new speaker triplets for VBAP Must be called before any calls to prepare(), renderBuffer(), renderSample() or perform()
Reimplemented in al::Vbap, al::Lbap, and al::AmbisonicsSpatializer.
Definition at line 66 of file al_Spatializer.hpp.
|
inlinevirtualinherited |
Called once per listener, after sources are rendered. ex. ambisonics decode
Reimplemented in al::AmbisonicsSpatializer.
Definition at line 84 of file al_Spatializer.hpp.
|
inlinevirtualinherited |
Called once per listener, before sources are rendered. ex. zero ambisonics coefficients
Reimplemented in al::Lbap, and al::AmbisonicsSpatializer.
Definition at line 70 of file al_Spatializer.hpp.