1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-02 08:59:28 +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);
}
}
if (t1 <= p->GetSel0() && p->GetSel1() > p->GetSel0()) {
t1 = p->GetSel1(); // record within the selection
} else {
t1 = DBL_MAX; // record for a long, long time
if (t1 <= p->GetSel0() && p->GetSel1() > p->GetSel0()) {
t1 = p->GetSel1(); // record within the selection
} else {
t1 = DBL_MAX; // record for a long, long time
}
}
if( recordingTracks.empty() )