32class AUD_API AnimateableTimeStretchPitchScaleReader :
public TimeStretchPitchScaleReader
43 std::shared_ptr<AnimateableProperty> m_timeStretch;
48 std::shared_ptr<AnimateableProperty> m_pitchScale;
51 AnimateableTimeStretchPitchScaleReader(
const AnimateableTimeStretchPitchScaleReader&) =
delete;
52 AnimateableTimeStretchPitchScaleReader& operator=(
const AnimateableTimeStretchPitchScaleReader&) =
delete;
65 std::shared_ptr<AnimateableProperty> pitchScale, StretcherQuality quality,
bool preserveFormant);
67 virtual void read(
int& length,
bool& eos,
sample_t* buffer)
override;
69 virtual void seek(
int position)
override;
The AnimateableTimeStretchPitchScale class.
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition Audaspace.h:119
float sample_t
Sample type.(float samples).
Definition Audaspace.h:126
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition Audaspace.h:116
#define AUD_API
Used for exporting symbols in the shared library.
Definition Audaspace.h:93
The TimeStretchPitchScaleReader class.
AnimateableTimeStretchPitchScaleReader(std::shared_ptr< IReader > reader, float fp, std::shared_ptr< AnimateableProperty > timeStretch, std::shared_ptr< AnimateableProperty > pitchScale, StretcherQuality quality, bool preserveFormant)
Creates a new animateable time-stretch, pitch scale reader.
virtual void seek(int position) override
Seeks to a specific position in the source.
virtual void read(int &length, bool &eos, sample_t *buffer) override
Request to read the next length samples out of the source.