1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-31 07:59:27 +02:00
This commit is contained in:
Leland Lucius 2015-08-16 15:20:29 -05:00
parent 5a9025b558
commit 54902ddb65

View File

@ -315,6 +315,11 @@ ExportMP3Options::ExportMP3Options(wxWindow *parent, int WXUNUSED(format))
{
InitMP3_Statics();
mSetRate = gPrefs->Read(wxT("/FileFormats/MP3SetRate"), PRESET_STANDARD);
mVbrRate = gPrefs->Read(wxT("/FileFormats/MP3VbrRate"), QUALITY_4);
mAbrRate = gPrefs->Read(wxT("/FileFormats/MP3AbrRate"), 128);
mCbrRate = gPrefs->Read(wxT("/FileFormats/MP3CbrRate"), 128);
ShuttleGui S(this, eIsCreatingFromPrefs);
PopulateOrExchange(S);
@ -422,11 +427,6 @@ void ExportMP3Options::PopulateOrExchange(ShuttleGui & S)
///
bool ExportMP3Options::TransferDataToWindow()
{
mSetRate = gPrefs->Read(wxT("/FileFormats/MP3SetRate"), PRESET_STANDARD);
mVbrRate = gPrefs->Read(wxT("/FileFormats/MP3VbrRate"), QUALITY_4);
mAbrRate = gPrefs->Read(wxT("/FileFormats/MP3AbrRate"), 128);
mCbrRate = gPrefs->Read(wxT("/FileFormats/MP3CbrRate"), 128);
return true;
}