1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Mixer::WarpOptions constructor for common case

This commit is contained in:
Paul Licameli
2020-11-30 13:41:10 -05:00
parent 9d6dd45973
commit 4871584cb3
6 changed files with 22 additions and 17 deletions

View File

@@ -997,9 +997,7 @@ void OnScoreAlign(const CommandContext &context)
Mixer mix(
waveTracks, // const WaveTrackConstArray &inputTracks
false, // mayThrow -- is this right?
Mixer::WarpOptions{
*tracks->Any<const TimeTrack >().begin()
}, // const WarpOptions &warpOptions
Mixer::WarpOptions{ *tracks },
0.0, // double startTime
endTime, // double stopTime
2, // int numOutChannels