29#include "../ShuttleGui.h"
48 return XO(
"Preferences for Effects");
53 return "Effects_Preferences";
68 wxT(
"/Effects/GroupBy"),
72 XO(
"Sorted by Effect Name") ,
73 XO(
"Sorted by Publisher and Effect Name") ,
74 XO(
"Sorted by Type and Effect Name") ,
75 XO(
"Grouped by Publisher") ,
76 XO(
"Grouped by Type") ,
81 wxT(
"sortby:publisher:name") ,
82 wxT(
"sortby:type:name") ,
83 wxT(
"groupby:publisher") ,
105 { wxT(
"AudioUnit"),
XXO(
"Audio Unit") },
110 { wxT(
"LADSPA"),
XXO(
"&LADSPA") },
114 { wxT(
"LV2"),
XXO(
"LV&2") },
120 { wxT(
"Nyquist"),
XXO(
"N&yquist") },
124 { wxT(
"Vamp"),
XXO(
"&Vamp") },
128 { wxT(
"VST"),
XXO(
"V&ST") },
139 struct ModuleData :
public std::vector< Entry > {
143 auto internal = plug.GetEffectFamily();
156 prompt = plug.GetSymbol().Msgid();
158 prompt = iter->second;
160 auto setting = pm.GetPluginEnabledSetting( plug );
162 push_back( { prompt, setting } );
172 static ModuleData theData;
183 S.StartStatic(
XO(
"Enable Effects"));
196 S.StartStatic(
XO(
"Effect Options"));
198 S.StartMultiColumn(2);
204 S.TieIntegerTextBox(
XXO(
"&Maximum effects per group (0 to disable):"),
205 {wxT(
"/Effects/MaxPerGroup"),
206#if defined(__WXGTK__)
218#ifdef EXPERIMENTAL_EQ_SSE_THREADED
219 S.StartStatic(
XO(
"Instruction Set"));
221 S.TieCheckBox(
XXO(
"&Use SSE/SSE2/.../AVX"),
ChoiceSetting EffectsGroupBy
#define EFFECTS_PREFS_PLUGIN_SYMBOL
static ProjectFileIORegistry::AttributeWriterEntry entry
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
A PrefsPanel for general GUI preferences.
void PopulateOrExchange(ShuttleGui &S) override
EffectsPrefs(wxWindow *parent, wxWindowID winid)
ComponentInterfaceSymbol GetSymbol() const override
TranslatableString GetDescription() const override
ManualPageID HelpPageName() override
If not empty string, the Help button is added below the panel.
static PluginManager & Get()
Base class for a panel in the PrefsDialog. Classes derived from this class include BatchPrefs,...
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.
auto end(const Ptr< Type, BaseDeleter > &p)
Enables range-for.
auto begin(const Ptr< Type, BaseDeleter > &p)
Enables range-for.
const std::map< wxString, TranslatableString > SuggestedPrompts
PrefsPanel::Registration sAttachment
static const std::vector< Entry > & GetModuleData()
TranslatableString prompt