48 - [](
const Track *pTrack){
49 return !pTrack->SupportsBasicEditing(); };
50 return !range.empty();
57 return !range.empty();
82 format =
XO(
"Select the audio for %s to use (for example, Cmd + A to Select All) then try again."
87 format =
XO(
"Select the audio for %s to use (for example, Ctrl + A to Select All) then try again."
90 return format.Format( Name );
92 "Selecting_Audio_-_the_basics",
93 XO(
"No Audio Selected")
102 auto format =
XO(
"Select the audio for %s to use.\n\n1. Select audio that represents noise and use %s to get your 'noise profile'.\n\n2. When you have got your noise profile, select the audio you want to change\nand use %s to change that audio.");
103 return format.Format( Name, Name, Name );
106 XO(
"No Audio Selected")
124 XO(
"You can only do this when playing and recording are\nstopped. (Pausing is not sufficient.)");
125 } ,
"FAQ:Errors:Audio Must Be Stopped"}
135 return std::any_of(range.begin(), range.end(),
136 [](
auto pTrack){ return pTrack->NChannels() > 1; });
140 XO(
"You must first select some stereo audio to perform this\naction. (You cannot use this with mono.)");
141 } ,
"Audacity_Selection"}
160 XO(
"You must first select some audio to perform this action.\n(Selecting other kinds of track won't work.)");
161 } ,
"Audacity_Selection"}
175 XO(
"\"%s\" requires one or more tracks to be selected.").Format( Name );
176 },
"Audacity_Selection" }
183 XO(
"\"%s\" requires one or more tracks to be selected.").Format( Name );
184 },
"Audacity_Selection" }
208 gAudioIO->IsBusy() &&
209 gAudioIO->GetNumCaptureChannels() > 0
276 while (focus && focus->GetParent())
277 focus = focus->GetParent();
280 !
static_cast<const wxTopLevelWindow*
>(focus)->IsIconized()
const ReservedCommandFlag & NoAutoSelect()
const CommandFlagOptions noiseReductionOptions
const ReservedCommandFlag & CaptureNotBusyFlag()
const ReservedCommandFlag & NoiseReductionTimeSelectedFlag()
const ReservedCommandFlag & AudioIOBusyFlag()
bool EditableTracksSelectedPred(const AudacityProject &project)
const ReservedCommandFlag & AudioIONotBusyFlag()
const ReservedCommandFlag & ZoomInAvailableFlag()
const ReservedCommandFlag & NotMinimizedFlag()
const ReservedCommandFlag & UndoAvailableFlag()
const ReservedCommandFlag & RedoAvailableFlag()
const ReservedCommandFlag & ZoomOutAvailableFlag()
const ReservedCommandFlag & IsSyncLockedFlag()
const ReservedCommandFlag & StereoRequiredFlag()
bool AudioIOBusyPred(const AudacityProject &project)
const ReservedCommandFlag & LabelTracksExistFlag()
const ReservedCommandFlag & TimeSelectedFlag()
const ReservedCommandFlag & EditableTracksSelectedFlag()
bool AnyTracksSelectedPred(const AudacityProject &project)
const ReservedCommandFlag & AnyTracksSelectedFlag()
const CommandFlagOptions & cutCopyOptions()
const ReservedCommandFlag & TracksExistFlag()
const ReservedCommandFlag & PausedFlag()
const ReservedCommandFlag & IsNotSyncLockedFlag()
const ReservedCommandFlag & WaveTracksExistFlag()
const ReservedCommandFlag & WaveTracksSelectedFlag()
const ReservedCommandFlag & TrackPanelHasFocus()
bool TimeSelectedPred(const AudacityProject &project)
wxFrame * FindProjectFrame(AudacityProject *project)
Get a pointer to the window associated with a project, or null if the given pointer is null,...
accessors for certain important windows associated with each project
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
static AudioIOBase * Get()
bool IsAudioTokenActive(int token) const
Returns true if the stream is active, or even if audio I/O is busy cleaning up its data or writing to...
bool IsPaused() const
Find out if playback / recording is currently paused.
A LabelTrack is a Track that holds labels (LabelStruct).
static ProjectAudioIO & Get(AudacityProject &project)
bool UndoAvailable() const
bool RedoAvailable() const
static ProjectHistory & Get(AudacityProject &project)
bool IsSyncLocked() const
static SyncLockState & Get(AudacityProject &project)
Abstract base class for an object holding data associated with points on a time axis.
auto Any() -> TrackIterRange< TrackType >
static TrackList & Get(AudacityProject &project)
auto Selected() -> TrackIterRange< TrackType >
Holds a msgid for the translation catalog; may also bind format arguments.
NotifyingSelectedRegion selectedRegion
static ViewInfo & Get(AudacityProject &project)
A Track that contains audio waveform data.
bool ZoomInAvailable() const
bool ZoomOutAvailable() const
std::unique_ptr< WindowPlacement > FindFocus()
Find the window that is accepting keyboard input, if any.
CommandFlagOptions && DisableDefaultMessage() &&
CommandFlagOptions && QuickTest() &&