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

Go to the source code of this file.


namespace  anonymous_namespace{TimeTrack.cpp}


#define TIMETRACK_MIN   0.01
#define TIMETRACK_MAX   10.0


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


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

Macro Definition Documentation


#define TIMETRACK_MAX   10.0

Definition at line 27 of file TimeTrack.cpp.


#define TIMETRACK_MIN   0.01

Definition at line 26 of file TimeTrack.cpp.

Function Documentation

◆ typeInfo()

static const Track::TypeInfo & typeInfo ( )

Definition at line 120 of file TimeTrack.cpp.

122 static const Track::TypeInfo info{
123 { "time", "time", XO("Time Track") }, true, &Track::ClassTypeInfo() };
124 return info;
static const TypeInfo & ClassTypeInfo()
Definition: Track.cpp:790

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

Initial value:
[](const AudacityProject *pProject) -> const BoundedEnvelope*
if (pProject) {
auto &list = TrackList::Get(*pProject);
if (auto pTimeTrack = *list.Any<const TimeTrack>().begin())
return pTimeTrack->GetEnvelope();
return nullptr;
} }
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
A kind of Track used to 'warp time'.
Definition: TimeTrack.h:24
static TrackList & Get(AudacityProject &project)
Definition: Track.cpp:314

Installer of the time warper.

Definition at line 361 of file TimeTrack.cpp.

◆ readerEntry

Initial value:
static TimeTrack * New(AudacityProject &project)
Definition: TimeTrack.cpp:39

Definition at line 29 of file TimeTrack.cpp.