mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 00:19:27 +02:00
Fix for bug #1136
This commit is contained in:
parent
5a9025b558
commit
54902ddb65
@ -315,6 +315,11 @@ ExportMP3Options::ExportMP3Options(wxWindow *parent, int WXUNUSED(format))
|
|||||||
{
|
{
|
||||||
InitMP3_Statics();
|
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);
|
ShuttleGui S(this, eIsCreatingFromPrefs);
|
||||||
PopulateOrExchange(S);
|
PopulateOrExchange(S);
|
||||||
|
|
||||||
@ -422,11 +427,6 @@ void ExportMP3Options::PopulateOrExchange(ShuttleGui & S)
|
|||||||
///
|
///
|
||||||
bool ExportMP3Options::TransferDataToWindow()
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user