Audacity 3.2.0
|
#include "WaveTrack.h"
#include "WaveClip.h"
#include <wx/defs.h>
#include <wx/debug.h>
#include <wx/log.h>
#include <algorithm>
#include <float.h>
#include <math.h>
#include <numeric>
#include <optional>
#include <type_traits>
#include <unordered_set>
#include "float_cast.h"
#include "AudioSegmentSampleView.h"
#include "ChannelAttachments.h"
#include "ClipTimeAndPitchSource.h"
#include "Envelope.h"
#include "Sequence.h"
#include "StaffPadTimeAndPitch.h"
#include "TempoChange.h"
#include "Project.h"
#include "ProjectRate.h"
#include "SampleBlock.h"
#include "BasicUI.h"
#include "Prefs.h"
#include "QualitySettings.h"
#include "SyncLock.h"
#include "TimeWarper.h"
#include "InconsistencyException.h"
#include <cmath>
Go to the source code of this file.
Classes | |
struct | anonymous_namespace{WaveTrack.cpp}::WaveTrackData |
struct | anonymous_namespace{WaveTrack.cpp}::SplitInfo |
Namespaces | |
namespace | anonymous_namespace{WaveTrack.cpp} |
namespace | anonymous_namespace{WaveTrack.cpp}::anonymous_namespace{WaveTrack.cpp} |
Functions | |
WaveTrack::IntervalHolder | anonymous_namespace{WaveTrack.cpp}::GetRenderedCopy (const WaveTrack::IntervalHolder &pInterval, const std::function< void(double)> &reportProgress, const SampleBlockFactoryPtr &factory, sampleFormat format) |
bool | anonymous_namespace{WaveTrack.cpp}::anonymous_namespace{WaveTrack.cpp}::AreAligned (const WaveTrack::IntervalConstHolders &a, const WaveTrack::IntervalConstHolders &b) |
Track::LinkType | anonymous_namespace{WaveTrack.cpp}::ToLinkType (int value) |
static const Track::TypeInfo & | typeInfo () |
bool | anonymous_namespace{WaveTrack.cpp}::ClipsAreUnique (const WaveClipHolders &clips) |
bool | GetEditClipsCanMove () |
DEFINE_XML_METHOD_REGISTRY (WaveTrackIORegistry) | |
Variables | |
static const ChannelGroup::Attachments::RegisteredFactory | anonymous_namespace{WaveTrack.cpp}::waveTrackDataFactory |
static auto | DefaultName = XO("Audio") |
static ProjectFileIORegistry::ObjectReaderEntry | readerEntry |
static constexpr auto | Offset_attr = "offset" |
static constexpr auto | Rate_attr = "rate" |
static constexpr auto | Volume_attr |
static constexpr auto | Pan_attr = "pan" |
static constexpr auto | Linked_attr = "linked" |
static constexpr auto | SampleFormat_attr = "sampleformat" |
static constexpr auto | Channel_attr = "channel" |
static auto | TrackFactoryFactory |
static const AudacityProject::AttachedObjects::RegisteredFactory | key2 |
StringSetting | AudioTrackNameSetting |
BoolSetting | EditClipsCanMove |
DEFINE_XML_METHOD_REGISTRY | ( | WaveTrackIORegistry | ) |
bool GetEditClipsCanMove | ( | ) |
Definition at line 3408 of file WaveTrack.cpp.
References EditClipsCanMove, Setting< T >::Read(), and SyncLockTracks.
Referenced by anonymous_namespace{LabelMenus.cpp}::EditClipboardByLabel(), WaveTrackUtilities::ExpandCutLine(), WaveTrack::HandleClear(), anonymous_namespace{EditMenus.cpp}::OnPaste(), WaveTrack::PasteWaveTrackAtSameTempo(), and Generator::Process().
|
static |
Definition at line 676 of file WaveTrack.cpp.
References WritableSampleTrack::ClassTypeInfo(), and XO().
Referenced by WaveTrack::ClassTypeInfo(), and WaveTrack::GetTypeInfo().
StringSetting AudioTrackNameSetting |
Definition at line 3398 of file WaveTrack.cpp.
Referenced by TracksPrefs::Commit(), WaveTrack::GetDefaultAudioTrackNamePreference(), and TracksPrefs::PopulateOrExchange().
|
staticconstexpr |
Definition at line 2359 of file WaveTrack.cpp.
Referenced by WaveTrack::WriteOneXML().
|
static |
Definition at line 364 of file WaveTrack.cpp.
Referenced by WaveTrack::GetDefaultAudioTrackNamePreference().
BoolSetting EditClipsCanMove |
Definition at line 3417 of file WaveTrack.cpp.
Referenced by TracksBehaviorsPrefs::Commit(), GetEditClipsCanMove(), BenchmarkDialog::OnRun(), TracksBehaviorsPrefs::PopulateOrExchange(), and WaveTrack::SyncLockAdjust().
|
static |
Definition at line 3372 of file WaveTrack.cpp.
Referenced by WaveTrackFactory::Destroy(), WaveTrackFactory::Get(), and WaveTrackFactory::Reset().
|
staticconstexpr |
Definition at line 2357 of file WaveTrack.cpp.
Referenced by WaveTrack::HandleXMLTag(), and WaveTrack::WriteOneXML().
|
staticconstexpr |
Definition at line 2351 of file WaveTrack.cpp.
Referenced by WaveTrack::HandleXMLTag().
|
staticconstexpr |
Definition at line 2356 of file WaveTrack.cpp.
Referenced by WaveTrack::HandleXMLTag(), and WaveTrack::WriteOneXML().
|
staticconstexpr |
Definition at line 2352 of file WaveTrack.cpp.
Referenced by WaveTrack::HandleXMLTag(), and WaveTrack::WriteOneXML().
|
static |
Definition at line 386 of file WaveTrack.cpp.
|
staticconstexpr |
Definition at line 2358 of file WaveTrack.cpp.
Referenced by WaveTrack::HandleXMLTag(), and WaveTrack::WriteOneXML().
|
static |
Definition at line 3366 of file WaveTrack.cpp.
Referenced by WaveTrackFactory::Reset().
|
staticconstexpr |
Definition at line 2353 of file WaveTrack.cpp.
Referenced by WaveTrack::HandleXMLTag(), and WaveTrack::WriteOneXML().