37 virtual std::string
Name()
const override;
#define HEPH_API
Definition HephShared.h:124
class for storing the audio samples in internal format.
Definition AudioBuffer.h:16
base class for audio effects that use a temporary buffer while processing.
Definition DoubleBufferedAudioEffect.h:13
changes the sample rate.
Definition Resampler.h:14
virtual size_t GetOutputSampleRate() const
virtual size_t CalculateRequiredFrameCount(size_t outputFrameCount, const AudioFormatInfo &formatInfo) const override
virtual void ProcessST(const AudioBuffer &inputBuffer, AudioBuffer &outputBuffer, size_t startIndex, size_t frameCount) override
virtual size_t CalculateOutputFrameCount(size_t inputFrameCount, const AudioFormatInfo &formatInfo) const override
virtual std::string Name() const override
Resampler(size_t outputSampleRate)
virtual size_t CalculateAdvanceSize(size_t renderFrameCount, const AudioFormatInfo &formatInfo) const override
virtual AudioBuffer CreateOutputBuffer(const AudioBuffer &inputBuffer, size_t startIndex, size_t frameCount) const override
virtual ~Resampler()=default
size_t outputSampleRate
Definition Resampler.h:20
virtual void SetOutputSampleRate(size_t outputSampleRate)
virtual void InitializeOutputBuffer(const AudioBuffer &inputBuffer, AudioBuffer &outputBuffer, size_t startIndex, size_t frameCount) const override