1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 00:29:41 +02:00

Append-Rec: Prefer first, not last, track with correct # of channels

This commit is contained in:
Paul Licameli 2018-04-08 16:36:01 -04:00
parent 7ef7e80e19
commit 5fe3c1bdd0

View File

@ -1043,9 +1043,13 @@ void ControlToolBar::OnRecord(wxCommandEvent &evt)
continue;
}
if( recordingChannels == nChannelsThisTrack) {
candidate = wt;
if (!candidate)
candidate = wt;
if (wt->GetSelected())
selectedCandidate = wt;
if (!selectedCandidate) {
selectedCandidate = wt;
break;
}
}
if (wt->GetSelected()) {
if (wt->GetEndTime() > t0) {