mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Add option to not show VST3 Micro Edit ctrls by default
This commit is contained in:
parent
33de08e9e7
commit
32bba6d7d1
2 changed files with 5 additions and 1 deletions
|
|
@ -229,6 +229,7 @@ CONFIG_VARIABLE (bool, discover_vst_on_start, "discover-vst-on-start", false)
|
|||
CONFIG_VARIABLE (bool, verbose_plugin_scan, "verbose-plugin-scan", false)
|
||||
CONFIG_VARIABLE (bool, conceal_lv1_if_lv2_exists, "conceal-lv1-if-lv2-exists", true)
|
||||
CONFIG_VARIABLE (bool, conceal_vst2_if_vst3_exists, "conceal-vst2-if-vst3-exists", true)
|
||||
CONFIG_VARIABLE (bool, show_vst3_micro_edit_inline, "show-vst3-micro-edit-inline", true)
|
||||
CONFIG_VARIABLE (int, vst_scan_timeout, "vst-scan-timeout", 1200) /* deciseconds, per plugin, <= 0 no timeout */
|
||||
CONFIG_VARIABLE (bool, discover_audio_units, "discover-audio-units", false)
|
||||
CONFIG_VARIABLE (bool, ask_replace_instrument, "ask-replace-instrument", true)
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
#include "ardour/audio_buffer.h"
|
||||
#include "ardour/audioengine.h"
|
||||
#include "ardour/debug.h"
|
||||
#include "ardour/rc_configuration.h"
|
||||
#include "ardour/selection.h"
|
||||
#include "ardour/session.h"
|
||||
#include "ardour/stripable.h"
|
||||
|
|
@ -1623,7 +1624,9 @@ VST3PI::get_parameter_descriptor (uint32_t port, ParameterDescriptor& desc) cons
|
|||
FUnknownPtr<IEditControllerExtra> extra_ctrl (_controller);
|
||||
if (extra_ctrl && port != designated_bypass_port ()) {
|
||||
int32 flags = extra_ctrl->getParamExtraFlags (id);
|
||||
desc.inline_ctrl = (flags & kParamFlagMicroEdit) ? true : false;
|
||||
if (Config->get_show_vst3_micro_edit_inline ()) {
|
||||
desc.inline_ctrl = (flags & kParamFlagMicroEdit) ? true : false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue