1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-04 18:53:24 +01:00

Track.cpp does not depend directly on its subclasses

This commit is contained in:
Paul Licameli
2019-06-06 09:27:35 -04:00
parent 98960c4fc3
commit 291bd7258f
12 changed files with 101 additions and 145 deletions

View File

@@ -144,7 +144,7 @@ void MixAndRender(TrackList *tracks, TrackFactory *trackFactory,
endTime = mixEndTime;
}
auto timeTrack = tracks->GetTimeTrack();
auto timeTrack = *tracks->Any<TimeTrack>().begin();
Mixer mixer(waveArray,
// Throw to abort mix-and-render if read fails:
true,