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:
parent
72032d6a2a
commit
1d9a78b8c8
@ -172,7 +172,8 @@ bool EffectStereoToMono::ProcessOne(sampleCount & curTime, sampleCount totalTime
|
|||||||
1,
|
1,
|
||||||
idealBlockLen,
|
idealBlockLen,
|
||||||
false, // Not interleaved
|
false, // Not interleaved
|
||||||
mProjectRate,
|
left->GetRate(), // Process() checks that left and right
|
||||||
|
// rates are the same
|
||||||
floatSample);
|
floatSample);
|
||||||
|
|
||||||
auto outTrack = left->EmptyCopy();
|
auto outTrack = left->EmptyCopy();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user