mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-30 23:49:28 +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
|
// PRL: I think this initialization of mProjectRate doesn't matter
|
||||||
// because it is always reassigned in DoEffect before it is used
|
// because it is always reassigned in DoEffect before it is used
|
||||||
|
// STF: but can't call AudioIOBase::GetOptimalSupportedSampleRate() here.
|
||||||
gPrefs->Read(wxT("/SamplingRate/DefaultProjectSampleRate"),
|
gPrefs->Read(wxT("/SamplingRate/DefaultProjectSampleRate"),
|
||||||
&mProjectRate,
|
&mProjectRate,
|
||||||
AudioIOBase::GetOptimalSupportedSampleRate());
|
44100);
|
||||||
|
|
||||||
mIsBatch = false;
|
mIsBatch = false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user