Audacity 3.2.0
Namespaces | Macros | Functions | Variables
TimeTrack.cpp File Reference
#include "TimeTrack.h"
#include "ActiveProject.h"
#include <cfloat>
#include <wx/wxcrtvararg.h>
#include <wx/dc.h>
#include "widgets/Ruler.h"
#include "Envelope.h"
#include "Mix.h"
#include "Project.h"
#include "ProjectRate.h"
#include "ViewInfo.h"
Include dependency graph for TimeTrack.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{TimeTrack.cpp}
 

Macros

#define TIMETRACK_MIN   0.01
 
#define TIMETRACK_MAX   10.0
 

Functions

static const Track::TypeInfotypeInfo ()
 
double anonymous_namespace{TimeTrack.cpp}::GetRate ()
 

Variables

static ProjectFileIORegistry::ObjectReaderEntry readerEntry
 
static Mixer::WarpOptions::DefaultWarp::Scope installer
 Installer of the time warper. More...
 

Macro Definition Documentation

◆ TIMETRACK_MAX

#define TIMETRACK_MAX   10.0

Definition at line 33 of file TimeTrack.cpp.

◆ TIMETRACK_MIN

#define TIMETRACK_MIN   0.01

Definition at line 32 of file TimeTrack.cpp.

Function Documentation

◆ typeInfo()

static const Track::TypeInfo & typeInfo ( )
static

Definition at line 141 of file TimeTrack.cpp.

142{
143 static const Track::TypeInfo info{
144 { "time", "time", XO("Time Track") }, true, &Track::ClassTypeInfo() };
145 return info;
146}
XO("Cut/Copy/Paste")
static const TypeInfo & ClassTypeInfo()
Definition: Track.cpp:1251

References Track::ClassTypeInfo(), and XO().

Referenced by TimeTrack::ClassTypeInfo(), and TimeTrack::GetTypeInfo().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ installer

Mixer::WarpOptions::DefaultWarp::Scope installer
static
Initial value:
{
[](const TrackList &list) -> const BoundedEnvelope*
{
if (auto pTimeTrack = *list.Any<const TimeTrack>().begin())
return pTimeTrack->GetEnvelope();
else
return nullptr;
} }
A kind of Track used to 'warp time'.
Definition: TimeTrack.h:24
A flat linked list of tracks supporting Add, Remove, Clear, and Contains, serialization of the list o...
Definition: Track.h:1338

Installer of the time warper.

Definition at line 365 of file TimeTrack.cpp.

◆ readerEntry

Initial value:
{
"timetrack",
}
static TimeTrack * New(AudacityProject &project)
Definition: TimeTrack.cpp:45

Definition at line 35 of file TimeTrack.cpp.