1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Add split line before new recording on same track.

This commit is contained in:
James Crook 2017-07-06 16:20:48 +01:00
parent c12f849f36
commit 739422ba70

View File

@ -1043,7 +1043,9 @@ void ControlToolBar::OnRecord(wxCommandEvent &evt)
playbackTracks.erase(it);
}
t1 = wt->GetEndTime();
if (t1 < t0) {
// less than or equal, not just less than, to ensure a clip boundary.
// when append recording.
if (t1 <= t0) {
if (!tracksCopied) {
// Duplicate all tracks before modifying any of them.
// The duplicates are used to restore state in case