mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-02 08:39:46 +02:00
If record overrides append because of channel count, record unlimited
This commit is contained in:
parent
9fcccd32ac
commit
b36482d649
@ -1119,13 +1119,14 @@ 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( recordingTracks.empty() )
|
||||
{ // recording to new track.
|
||||
|
Loading…
x
Reference in New Issue
Block a user