26 {
29
31
32
33
34
35
36
38 long counter = 1;
40 pTrack->AddLabel(
42 interval.first + interval.second },
43 wxString::Format(
wxT(
"%ld"), counter++));
44
46 history.ModifyState( true );
47
48
49
50
52 wxTheApp->CallAfter( [&window] {
54Recorded audio was lost at the labeled locations. Possible causes:\n\
55\n\
56Other applications are competing with Audacity for processor time\n\
57\n\
58You are saving directly to a slow external storage device\n\
59"
60 ),
61 false,
62 XXO(
"Turn off dropout detection"));
63 });
64 });
65 }
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 ...
int ShowWarningDialog(wxWindow *parent, const wxString &internalDialogName, const TranslatableString &message, bool showCancelButton, const TranslatableString &footer)
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.
static ProjectAudioManager & Get(AudacityProject &project)
static ProjectHistory & Get(AudacityProject &project)
Defines a selected portion of a project.
static TrackList & Get(AudacityProject &project)
Notification, after recording has stopped, when dropouts have been detected.
const Intervals & intervals
Disjoint and sorted increasingly.
Observer::Subscription mSubscription