1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-03 09:29:30 +02:00

Revert "If record overrides append because of channel count, record unlimited"

This reverts commit b36482d6494063e6799f793ed5e6b9b696125b1a.
This commit is contained in:
Paul Licameli 2018-05-17 21:22:31 -04:00
parent 1269fff8e1
commit 318967f00d

View File

@ -1141,13 +1141,12 @@ void ControlToolBar::OnRecord(wxCommandEvent &evt)
} }
recordingTracks.push_back(pending); recordingTracks.push_back(pending);
} }
}
if (t1 <= p->GetSel0() && p->GetSel1() > p->GetSel0()) {
if (t1 <= p->GetSel0() && p->GetSel1() > p->GetSel0()) { t1 = p->GetSel1(); // record within the selection
t1 = p->GetSel1(); // record within the selection } else {
} else { t1 = DBL_MAX; // record for a long, long time
t1 = DBL_MAX; // record for a long, long time }
} }
if( recordingTracks.empty() ) if( recordingTracks.empty() )