27 bool mayThrow)
const override;
82 const std::vector<std::vector<float>>
mAudio;
double GetPlayEndTime() const override
int GetCentShift() const override
double GetPlayDuration() const
Observer::Subscription SubscribeToCentShiftChange(std::function< void(int)> cb) const override
Observer::Subscription SubscribeToPitchAndSpeedPresetChange(std::function< void(PitchAndSpeedPreset)> cb) const override
int GetRate() const override
double GetPlayStartTime() const override
FloatVectorClip(int sampleRate, const std::vector< std::vector< float > > &audio)
const std::vector< std::vector< float > > mAudio
AudioSegmentSampleView GetSampleView(size_t iChannel, sampleCount start, size_t len, bool mayThrow) const override
sampleCount GetVisibleSampleCount() const override
size_t NChannels() const override
PitchAndSpeedPreset GetPitchAndSpeedPreset() const override
double GetStretchRatio() const override
sampleCount TimeToSamples(double time) const override
A move-only handle representing a connection to a Publisher.
Positions or offsets within audio files need a wide type.
constexpr auto sampleRate