mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-10 22:56:26 +01:00
Add split line before new recording on same track.
This commit is contained in:
@@ -1043,7 +1043,9 @@ void ControlToolBar::OnRecord(wxCommandEvent &evt)
|
|||||||
playbackTracks.erase(it);
|
playbackTracks.erase(it);
|
||||||
}
|
}
|
||||||
t1 = wt->GetEndTime();
|
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) {
|
if (!tracksCopied) {
|
||||||
// Duplicate all tracks before modifying any of them.
|
// Duplicate all tracks before modifying any of them.
|
||||||
// The duplicates are used to restore state in case
|
// The duplicates are used to restore state in case
|
||||||
|
|||||||
Reference in New Issue
Block a user