Photon C++ Client API
5.0.7.3
|
Audio Level Meter. More...
Public Member Functions | |
LevelMeter (int samplingRate, int numChannels) | |
Create new LevelMeterFloat instance. More... | |
virtual Buffer< T > | process (Buffer< T > buf) |
Process a frame of audio data. More... | |
virtual float | getCurrentAvgAmp (void) const |
virtual float | getCurrentPeakAmp (void) const |
virtual float | getAccumAvgPeakAmp (void) const |
virtual void | resetAccumAvgPeakAmp (void) |
Public Member Functions inherited from ToStringDefaultImplementation | |
virtual JString & | toString (JString &retStr, bool withTypes=false) const |
virtual JString & | toString (JString &retStr, bool withTypes=false) const=0 |
JString | toString (bool withTypes=false) const |
Public Member Functions inherited from ToString | |
virtual | ~ToString (void) |
virtual JString | typeToString (void) const |
JString | toString (bool withTypes=false) const |
Audio Level Meter.
LevelMeter | ( | int | samplingRate, |
int | numChannels | ||
) |
Create new LevelMeterFloat instance.
samplingRate | Sampling rate of the audio signal (in Hz). |
numChannels | Number of channels in the audio signal. |
Process a frame of audio data.
buf | Buffer containing input audio data |
Implements IProcessor< T >.