42 interval.first + interval.second },
43 wxString::Format(
wxT(
"%ld"), counter++));
46 history.ModifyState(
true );
52 wxTheApp->CallAfter( [&window] {
54Recorded audio was lost at the labeled locations. Possible causes:\n\
56Other applications are competing with Audacity for processor time\n\
58You are saving directly to a slow external storage device\n\
62 XXO(
"Turn off dropout detection"));
72 return std::make_shared<DropoutSubscription>(
project);
Utility ClientData::Site to register hooks into a host class that attach client data.
static AudacityProject::AttachedObjects::RegisteredFactory sKey
XXO("&Cut/Copy/Paste Toolbar")
AUDACITY_DLL_API wxFrame & GetProjectFrame(AudacityProject &project)
Get the top-level window associated with the project (as a wxFrame only, when you do not need to use ...
accessors for certain important windows associated with each project
int ShowWarningDialog(wxWindow *parent, const wxString &internalDialogName, const TranslatableString &message, bool showCancelButton, const TranslatableString &footer)
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Client code makes static instance from a factory of attachments; passes it to Get or Find as a retrie...
static LabelTrack * Create(TrackList &trackList, const wxString &name)
Create a new LabelTrack with specified name and append it to the trackList.
Subscription Subscribe(Callback callback)
Connect a callback to the Publisher; later-connected are called earlier.
A move-only handle representing a connection to a Publisher.
static ProjectAudioManager & Get(AudacityProject &project)
static ProjectHistory & Get(AudacityProject &project)
Defines a selected portion of a project.
static TrackList & Get(AudacityProject &project)
A convenient default parameter for class template Site.
Notification, after recording has stopped, when dropouts have been detected.
const Intervals & intervals
Disjoint and sorted increasingly.
DropoutSubscription(AudacityProject &project)
Observer::Subscription mSubscription