1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-29 15:09:30 +02:00

Fix bug 2280

This commit is contained in:
SteveDaulton 2020-01-07 16:47:50 +00:00
parent e4fda3ad3e
commit 8b1ecf03a4

View File

@ -117,9 +117,10 @@ Effect::Effect()
// PRL: I think this initialization of mProjectRate doesn't matter
// because it is always reassigned in DoEffect before it is used
// STF: but can't call AudioIOBase::GetOptimalSupportedSampleRate() here.
gPrefs->Read(wxT("/SamplingRate/DefaultProjectSampleRate"),
&mProjectRate,
AudioIOBase::GetOptimalSupportedSampleRate());
44100);
mIsBatch = false;
}