mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-10 00:15:31 +01:00
Avoid repetition in computing arguments for export mixers
This commit is contained in:
@@ -274,11 +274,8 @@ ProgressResult ExportOGG::Export(AudacityProject *project,
|
||||
}
|
||||
}
|
||||
|
||||
const WaveTrackConstArray waveTracks =
|
||||
tracks.GetWaveTrackConstArray(selectionOnly, false);
|
||||
{
|
||||
auto mixer = CreateMixer(waveTracks,
|
||||
tracks.GetTimeTrack(),
|
||||
auto mixer = CreateMixer(tracks, selectionOnly,
|
||||
t0, t1,
|
||||
numChannels, SAMPLES_PER_RUN, false,
|
||||
rate, floatSample, true, mixerSpec);
|
||||
|
||||
Reference in New Issue
Block a user