mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 16:37:12 +01:00
Apparently, wxConfigBase::Write() does not update values for next access on all platforms unless Flush() method is called. Added many calls to wxConfigBase::Flush() to make sure the Rad() calls get the right values.
This commit is contained in:
@@ -41,11 +41,13 @@ int Resample::GetBestMethod()
|
||||
void Resample::SetFastMethod(int index)
|
||||
{
|
||||
gPrefs->Write(GetFastMethodKey(), (long)index);
|
||||
gPrefs->Flush();
|
||||
}
|
||||
|
||||
void Resample::SetBestMethod(int index)
|
||||
{
|
||||
gPrefs->Write(GetBestMethodKey(), (long)index);
|
||||
gPrefs->Flush();
|
||||
}
|
||||
|
||||
#if USE_LIBRESAMPLE
|
||||
|
||||
Reference in New Issue
Block a user