Audacity 3.2.0
Public Member Functions | List of all members
ClipTimes Class Referenceabstract

#include <ClipInterface.h>

Inheritance diagram for ClipTimes:
[legend]

Public Member Functions

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
 

Detailed Description


Audacity: A Digital Audio Editor

ClipInterface.h

Matthieu Hodgkinson

Definition at line 18 of file ClipInterface.h.

Constructor & Destructor Documentation

◆ ~ClipTimes()

ClipTimes::~ClipTimes ( )
virtualdefault

Member Function Documentation

◆ GetPlayEndTime()

virtual double ClipTimes::GetPlayEndTime ( ) const
pure virtual

Implemented in FloatVectorClip, WaveClipChannel, and WaveClip.

Referenced by ClipParameters::ClipParameters(), ClipParameters::GetClipRect(), and anonymous_namespace{PitchAndSpeedDialog.cpp}::IsExactlySelected().

Here is the caller graph for this function:

◆ GetPlayStartTime()

virtual double ClipTimes::GetPlayStartTime ( ) const
pure virtual

Implemented in WaveClip, FloatVectorClip, and WaveClipChannel.

Referenced by ClipParameters::ClipParameters(), ClipParameters::GetClipRect(), and anonymous_namespace{PitchAndSpeedDialog.cpp}::IsExactlySelected().

Here is the caller graph for this function:

◆ GetRate()

virtual int ClipTimes::GetRate ( ) const
pure virtual

Implemented in FloatVectorClip, WaveClipChannel, and WaveClip.

Referenced by anonymous_namespace{ClipParameters.cpp}::GetBlankSpaceBeforePlayEndTime(), ClipParameters::GetClipRect(), anonymous_namespace{ClipTimeAndPitchSource.cpp}::GetLastReadSample(), and anonymous_namespace{ClipSegment.cpp}::GetTotalNumSamplesToProduce().

Here is the caller graph for this function:

◆ GetStretchRatio()

virtual double ClipTimes::GetStretchRatio ( ) const
pure virtual

◆ GetVisibleSampleCount()

virtual sampleCount ClipTimes::GetVisibleSampleCount ( ) const
pure virtual

The number of raw audio samples not hidden by trimming.

Implemented in FloatVectorClip, WaveClipChannel, and WaveClip.

Referenced by anonymous_namespace{ClipTimeAndPitchSource.cpp}::GetLastReadSample(), anonymous_namespace{ClipSegment.cpp}::GetTotalNumSamplesToProduce(), and ClipTimeAndPitchSource::Pull().

Here is the caller graph for this function:

◆ TimeToSamples()

virtual sampleCount ClipTimes::TimeToSamples ( double  time) const
pure virtual

Implemented in FloatVectorClip, WaveClipChannel, and WaveClip.


The documentation for this class was generated from the following files: