mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-29 15:09:30 +02:00
Fix bug 2280
This commit is contained in:
parent
e4fda3ad3e
commit
8b1ecf03a4
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user