mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 23:33:49 +01:00
One less place that assumes at most two channels in a track
This commit is contained in:
@@ -114,9 +114,7 @@ void DoMixAndRender
|
||||
++ii;
|
||||
}
|
||||
auto mid = arr.end();
|
||||
--mid;
|
||||
if (pNewRight)
|
||||
--mid;
|
||||
std::advance( mid, -TrackList::Channels( pNewLeft ).size() );
|
||||
std::rotate( arr.begin() + begin, mid, arr.end() );
|
||||
tracks.Permute( arr );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user