Audacity 3.2.0
|
#include <ClipInterface.h>
Public Member Functions | |
~ClipInterface () override | |
virtual AudioSegmentSampleView | GetSampleView (size_t iChannel, sampleCount start, size_t length, bool mayThrow=true) const =0 |
virtual size_t | NChannels () const =0 |
virtual int | GetCentShift () const =0 |
virtual Observer::Subscription | SubscribeToCentShiftChange (std::function< void(int)> cb) const =0 |
virtual PitchAndSpeedPreset | GetPitchAndSpeedPreset () const =0 |
virtual Observer::Subscription | SubscribeToPitchAndSpeedPresetChange (std::function< void(PitchAndSpeedPreset)> cb) const =0 |
Public Member Functions inherited from ClipTimes | |
virtual | ~ClipTimes () |
virtual sampleCount | GetVisibleSampleCount () const =0 |
virtual int | GetRate () const =0 |
virtual double | GetPlayStartTime () const =0 |
virtual double | GetPlayEndTime () const =0 |
virtual sampleCount | TimeToSamples (double time) const =0 |
virtual double | GetStretchRatio () const =0 |
Definition at line 45 of file ClipInterface.h.
|
overridedefault |
|
pure virtual |
Implemented in FloatVectorClip, and WaveClip.
Referenced by anonymous_namespace{ClipSegment.cpp}::GetStretchingParameters(), ClipButtonSpecializations< ClipButtonId::Pitch >::GetWidth(), and ClipButtonSpecializations< ClipButtonId::Pitch >::NeedsDrawing().
|
pure virtual |
Implemented in WaveClip, and FloatVectorClip.
Referenced by anonymous_namespace{ClipSegment.cpp}::GetStretchingParameters().
|
pure virtual |
Implemented in FloatVectorClip, and WaveClip.
Referenced by ClipTimeAndPitchSource::Pull().
|
pure virtual |
Implemented in FloatVectorClip, and WaveClip.
Referenced by ClipTimeAndPitchSource::NChannels(), and ClipTimeAndPitchSource::Pull().
|
pure virtual |
Implemented in FloatVectorClip, and WaveClip.
|
pure virtual |
Implemented in FloatVectorClip, and WaveClip.