1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 15:53:52 +02:00

Adjust MP3 export defaults as suggested in bug #1136

This commit is contained in:
Leland Lucius
2015-08-24 00:58:23 -05:00
parent 2e2dcd1bcf
commit b8dc019146

View File

@@ -316,9 +316,9 @@ 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);
mVbrRate = gPrefs->Read(wxT("/FileFormats/MP3VbrRate"), QUALITY_2);
mAbrRate = gPrefs->Read(wxT("/FileFormats/MP3AbrRate"), 192);
mCbrRate = gPrefs->Read(wxT("/FileFormats/MP3CbrRate"), 192);
ShuttleGui S(this, eIsCreatingFromPrefs);
PopulateOrExchange(S);
@@ -347,7 +347,7 @@ void ExportMP3Options::PopulateOrExchange(ShuttleGui & S)
S.AddPrompt(_("Bit Rate Mode:"));
S.StartHorizontalLay();
{
S.StartRadioButtonGroup(wxT("/FileFormats/MP3RateMode"), MODE_CBR);
S.StartRadioButtonGroup(wxT("/FileFormats/MP3RateMode"), MODE_SET);
{
mSET = S.Id(ID_SET).TieRadioButton(_("Preset"), MODE_SET);
mVBR = S.Id(ID_VBR).TieRadioButton(_("Variable"), MODE_VBR);