27 wxT(
"BufferSize"), mBufferSize, 8192);
29 wxT(
"UseLatency"), mUseLatency,
true);
31 wxT(
"UseGUI"), mUseGUI,
true);
34 PopulateOrExchange(
S);
44 S.StartHorizontalLay(wxEXPAND, 1);
46 S.StartVerticalLay(
false);
48 S.StartStatic(
XO(
"Buffer Size"));
50 S.AddVariableText(
XO(
51"The buffer size controls the number of samples sent to the effect "
52"on each iteration. Smaller values will cause slower processing and "
53"some effects require 8192 samples or less to work properly. However "
54"most effects can accept large buffers and using them will greatly "
55"reduce processing time."),
58 S.StartHorizontalLay(wxALIGN_LEFT);
61 t =
S.Validator<IntegerValidator<int>>(
62 &
mBufferSize, NumValidatorStyle::DEFAULT, 8, 1048576 * 1)
63 .MinSize( { 100, -1 } )
64 .TieNumericTextBox(
XXO(
"&Buffer Size (8 to 1048576 samples):"),
72 S.StartStatic(
XO(
"Latency Compensation"));
74 S.AddVariableText(
XO(
75"As part of their processing, some VST3 effects must delay returning "
76"audio to Audacity. When not compensating for this delay, you will "
77"notice that small silences have been inserted into the audio. "
78"Enabling this option will provide that compensation, but it may "
79"not work for all VST3 effects."),
82 S.StartHorizontalLay(wxALIGN_LEFT);
84 S.TieCheckBox(
XXO(
"Enable &compensation"),
91 S.StartStatic(
XO(
"Graphical Mode"));
93 S.AddVariableText(
XO(
94"Most VST3 effects have a graphical interface for setting parameter values."
95" A basic text-only method is also available. "
96" Reopen the effect for this to take effect."),
98 S.TieCheckBox(
XXO(
"Enable &graphical interface"),
105 S.EndHorizontalLay();
107 S.AddStandardButtons();
EVT_BUTTON(wxID_NO, DependencyDialog::OnNo) EVT_BUTTON(wxID_YES
XXO("&Cut/Copy/Paste Toolbar")
EffectDefinitionInterface is a ComponentInterface that adds some basic read-only information about ef...
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
void OnOk(wxCommandEvent &evt)
virtual ~VST3OptionsDialog()
const EffectDefinitionInterface & mEffect
void PopulateOrExchange(ShuttleGui &S)
bool SetConfig(const EffectDefinitionInterface &ident, ConfigurationType type, const RegistryPath &group, const RegistryPath &key, const Value &value)
bool GetConfig(const EffectDefinitionInterface &ident, ConfigurationType type, const RegistryPath &group, const RegistryPath &key, Value &var, const Value &defval)