24#include <wx/textctrl.h>
32#define ID_SAMPLE_RATE_CHOICE 7001
57 return XO(
"Preferences for Quality");
62 return "Quality_Preferences";
120 S.StartStatic(
XO(
"Sampling"));
122 S.StartMultiColumn(2);
124 S.AddPrompt(
XXO(
"Default Sample &Rate:"));
126 S.StartMultiColumn(2);
134 .TieNumberAsChoice( {},
147 S.EndHorizontalLay();
150 .TieChoice(
XXO(
"Default Sample &Format:"),
157 S.StartStatic(
XO(
"Real-time Conversion"));
159 S.StartMultiColumn(2, wxEXPAND);
161 S.TieChoice(
XXO(
"Sample Rate Con&verter:"),
165 S.TieChoice(
XXO(
"&Dither:"),
172 S.StartStatic(
XO(
"High-quality Conversion"));
174 S.StartMultiColumn(2);
176 S.TieChoice(
XXO(
"Sample Rate Conver&ter:"),
180 S.TieChoice(
XXO(
"Dit&her:"),
XXO("&Cut/Copy/Paste Toolbar")
#define ID_SAMPLE_RATE_CHOICE
#define QUALITY_PREFS_PLUGIN_SYMBOL
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
static const int StandardRates[]
Array of common audio sample rates.
static const int NumStandardRates
How many standard sample rates there are.
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
static EnumSetting< DitherType > BestSetting
static EnumSetting< DitherType > FastSetting
virtual bool Flush(bool bCurrentOnly=false) wxOVERRIDE
Base class for a panel in the PrefsDialog. Classes derived from this class include BatchPrefs,...
A PrefsPanel used for setting audio quality.
wxTextCtrl * mOtherSampleRate
ManualPageID HelpPageName() override
If not empty string, the Help button is added below the panel.
int mOtherSampleRateValue
void OnSampleRateChoice(wxCommandEvent &e)
void PopulateOrExchange(ShuttleGui &S) override
ComponentInterfaceSymbol GetSymbol() const override
TranslatableStrings mSampleRateNames
TranslatableString GetDescription() const override
std::vector< int > mSampleRateLabels
static EnumSetting< int > FastMethodSetting
static EnumSetting< int > BestMethodSetting
bool Write(const T &value)
Write value to config and return true if successful.
void Invalidate() override
bool Read(T *pVar) const
overload of Read returning a boolean that is true if the value was previously defined */
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Holds a msgid for the translation catalog; may also bind format arguments.
PROJECT_RATE_API IntSetting DefaultSampleRate
PROJECT_RATE_API EnumSetting< sampleFormat > SampleFormatSetting
PrefsPanel::Registration sAttachment