1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Bug 2517 - Mix Stereo To Mono incorrectly uses Project Rate

Fix:
Use the sample rate of the tracks.
This commit is contained in:
David Bailes 2020-08-07 11:22:06 +01:00
parent 72032d6a2a
commit 1d9a78b8c8

View File

@ -172,7 +172,8 @@ bool EffectStereoToMono::ProcessOne(sampleCount & curTime, sampleCount totalTime
1,
idealBlockLen,
false, // Not interleaved
mProjectRate,
left->GetRate(), // Process() checks that left and right
// rates are the same
floatSample);
auto outTrack = left->EmptyCopy();