mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-05 06:59:07 +02:00
Add split line before new recording on same track.
This commit is contained in:
parent
c12f849f36
commit
739422ba70
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user