reset method

void reset()

Resets the smoother to its initial state.

Clears the volume history and resets the current smoothed volume to 0.0.

Implementation

void reset() {
  _volumeHistory.clear();
  _currentSmoothedVolume = 0.0;
  _isFirstValue = true;
}