Audacity 3.2.0
|
#include <WideClip.h>
Public Member Functions | |
WideClip (std::shared_ptr< ClipInterface > left, std::shared_ptr< ClipInterface > right) | |
Observer::Subscription | SubscribeToCentShiftChange (std::function< void(int)> cb) override |
Observer::Subscription | SubscribeToPitchAndSpeedPresetChange (std::function< void(PitchAndSpeedPreset)> cb) override |
AudioSegmentSampleView | GetSampleView (size_t ii, sampleCount start, size_t len, bool mayThrow) const override |
sampleCount | GetVisibleSampleCount () const override |
size_t | GetWidth () const override |
int | GetRate () const override |
double | GetPlayStartTime () const override |
double | GetPlayEndTime () const override |
sampleCount | TimeToSamples (double time) const override |
double | GetStretchRatio () const override |
int | GetCentShift () const override |
PitchAndSpeedPreset | GetPitchAndSpeedPreset () const override |
Public Member Functions inherited from ClipInterface | |
~ClipInterface () override | |
virtual AudioSegmentSampleView | GetSampleView (size_t iChannel, sampleCount start, size_t length, bool mayThrow=true) const =0 |
virtual size_t | GetWidth () const =0 |
virtual int | GetCentShift () const =0 |
virtual Observer::Subscription | SubscribeToCentShiftChange (std::function< void(int)> cb)=0 |
virtual PitchAndSpeedPreset | GetPitchAndSpeedPreset () const =0 |
virtual Observer::Subscription | SubscribeToPitchAndSpeedPresetChange (std::function< void(PitchAndSpeedPreset)> cb)=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 |
Private Attributes | |
const std::array< std::shared_ptr< ClipInterface >, 2 > | mChannels |
WideClip::WideClip | ( | std::shared_ptr< ClipInterface > | left, |
std::shared_ptr< ClipInterface > | right | ||
) |
Audacity: A Digital Audio Editor
Matthieu Hodgkinson
Definition at line 13 of file WideClip.cpp.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
The number of raw audio samples not hidden by trimming.
Implements ClipTimes.
Definition at line 25 of file WideClip.cpp.
References mChannels.
|
overridevirtual |
|
overridevirtual |
Implements ClipInterface.
Definition at line 71 of file WideClip.cpp.
References mChannels.
|
overridevirtual |
Implements ClipInterface.
Definition at line 80 of file WideClip.cpp.
References mChannels.
|
overridevirtual |
|
private |
Definition at line 60 of file WideClip.h.
Referenced by GetCentShift(), GetPitchAndSpeedPreset(), GetPlayEndTime(), GetPlayStartTime(), GetRate(), GetSampleView(), GetStretchRatio(), GetVisibleSampleCount(), GetWidth(), SubscribeToCentShiftChange(), SubscribeToPitchAndSpeedPresetChange(), and TimeToSamples().