52 bool mayThrow =
true)
const = 0;
std::vector< std::shared_ptr< const ClipInterface > > ClipConstHolders
An audio segment is either a whole clip or the silence between clips. Views allow shared references t...
virtual int GetCentShift() const =0
~ClipInterface() override
virtual PitchAndSpeedPreset GetPitchAndSpeedPreset() const =0
virtual size_t NChannels() const =0
virtual Observer::Subscription SubscribeToPitchAndSpeedPresetChange(std::function< void(PitchAndSpeedPreset)> cb) const =0
virtual Observer::Subscription SubscribeToCentShiftChange(std::function< void(int)> cb) const =0
virtual AudioSegmentSampleView GetSampleView(size_t iChannel, sampleCount start, size_t length, bool mayThrow=true) const =0
virtual double GetPlayEndTime() const =0
virtual int GetRate() const =0
virtual double GetStretchRatio() const =0
virtual double GetPlayStartTime() const =0
virtual sampleCount TimeToSamples(double time) const =0
virtual sampleCount GetVisibleSampleCount() const =0
A move-only handle representing a connection to a Publisher.
Positions or offsets within audio files need a wide type.