#include "Scrubbing.h"
#include <functional>
#include "AudioIO.h"
#include "CommandManager.h"
#include "../../CommonCommandFlags.h"
#include "Project.h"
#include "ProjectAudioIO.h"
#include "../../ProjectAudioManager.h"
#include "ProjectHistory.h"
#include "../../ProjectWindows.h"
#include "ProjectStatus.h"
#include "../../ScrubState.h"
#include "Track.h"
#include "ViewInfo.h"
#include "WaveTrack.h"
#include "../../prefs/PlaybackPrefs.h"
#include "../../prefs/TracksPrefs.h"
#include <algorithm>
#include <wx/app.h>
#include <wx/menu.h>
#include <wx/timer.h>
Go to the source code of this file.
◆ THUNK
◆ anonymous enum
Enumerator |
---|
SCRUBBING_PIXEL_TOLERANCE | |
ScrubSpeedStepsPerOctave | |
kOneSecondCountdown | |
Definition at line 45 of file Scrubbing.cpp.
45 {
46
47
48
50
52
55};
static constexpr auto ScrubPollInterval
@ SCRUBBING_PIXEL_TOLERANCE
@ ScrubSpeedStepsPerOctave
◆ anonymous enum
◆ HasWaveDataFlag()
◆ ScrubbingPlaybackPolicyFactory()
◆ HasWaveDataPred
const auto HasWaveDataPred |
|
static |
Initial value:=
};
return !range.empty();
}
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
auto Any() -> TrackIterRange< TrackType >
static TrackList & Get(AudacityProject &project)
A Track that contains audio waveform data.
double GetStartTime() const override
Implement WideSampleSequence.
double GetEndTime() const override
Implement WideSampleSequence.
Definition at line 232 of file Scrubbing.cpp.
Referenced by Scrubber::CanScrub(), and HasWaveDataFlag().
◆ key
◆ MinStutter
◆ registeredStatusWidthFunction
Initial value:{
{
strings.push_back( item.GetStatus() );
strings.push_back(
);
return { std::move( strings ), 30 };
}
return {};
}
}
StatusBarField StateStatusBarField()
ID of the first field in the status bar. This filed is used to display playback state.
static auto sPlayAtSpeedStatus
std::vector< TranslatableString > TranslatableStrings
An explicitly nonlocalized string, not meant for the user to see.
std::pair< std::vector< TranslatableString >, unsigned > StatusWidthResult
const MenuItems & menuItems()
Definition at line 1019 of file Scrubbing.cpp.
◆ sKeyboardScrubbingStatus
auto sKeyboardScrubbingStatus = XO("Scrubbing") |
|
static |
◆ sPlayAtSpeedStatus
auto sPlayAtSpeedStatus = XO("Playing at Speed") |
|
static |