1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 16:19:43 +02:00

If record overrides append because of channel count, record unlimited

This commit is contained in:
Paul Licameli 2018-04-07 23:37:51 -04:00
parent 9fcccd32ac
commit b36482d649

View File

@ -1119,12 +1119,13 @@ 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() )