22 virtual void Pull(
float*
const*,
size_t samplesPerChannel) = 0;
28 static bool IsPassThroughMode(
double stretchRatio);
33 static constexpr auto MaxCents = 1200;
34 static constexpr auto MinCents = -1200;
38 double timeRatio = 1.0;
39 double pitchRatio = 1.0;
40 bool preserveFormants =
false;
virtual void OnFormantPreservationChange(bool preserve)=0
virtual void OnCentShiftChange(int cents)=0
virtual ~TimeAndPitchInterface()
virtual void GetSamples(float *const *, size_t)=0
virtual void Pull(float *const *, size_t samplesPerChannel)=0
virtual ~TimeAndPitchSource()