mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Tweak default config
* disable MMC by default * auto-detect audition-synth at first run (prefer gmsynth if available)
This commit is contained in:
parent
69ed499022
commit
d36e909ad4
2 changed files with 6 additions and 3 deletions
|
|
@ -50,7 +50,7 @@ CONFIG_VARIABLE (TracksAutoNamingRule, tracks_auto_naming, "tracks-auto-naming",
|
|||
CONFIG_VARIABLE (bool, trace_midi_input, "trace-midi-input", false)
|
||||
CONFIG_VARIABLE (bool, trace_midi_output, "trace-midi-output", false)
|
||||
CONFIG_VARIABLE (bool, send_mtc, "send-mtc", false)
|
||||
CONFIG_VARIABLE (bool, send_mmc, "send-mmc", true)
|
||||
CONFIG_VARIABLE (bool, send_mmc, "send-mmc", false)
|
||||
CONFIG_VARIABLE (bool, send_midi_clock, "send-midi-clock", false)
|
||||
CONFIG_VARIABLE (bool, mmc_control, "mmc-control", true)
|
||||
CONFIG_VARIABLE (bool, midi_feedback, "midi-feedback", false)
|
||||
|
|
@ -142,7 +142,7 @@ CONFIG_VARIABLE (std::string, monitor_bus_preferred_bundle, "monitor-bus-preferr
|
|||
CONFIG_VARIABLE (bool, quieten_at_speed, "quieten-at-speed", true)
|
||||
|
||||
CONFIG_VARIABLE (bool, link_send_and_route_panner, "link-send-and-route-panner", true)
|
||||
CONFIG_VARIABLE (std::string, midi_audition_synth_uri, "midi-audition-synth-uri", "https://community.ardour.org/node/7596")
|
||||
CONFIG_VARIABLE (std::string, midi_audition_synth_uri, "midi-audition-synth-uri", "")
|
||||
|
||||
/* click */
|
||||
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ Auditioner::lookup_synth ()
|
|||
{
|
||||
string plugin_id = Config->get_midi_audition_synth_uri();
|
||||
asynth.reset ();
|
||||
if (!plugin_id.empty()) {
|
||||
if (!plugin_id.empty() || plugin_id == X_("@default@")) {
|
||||
boost::shared_ptr<Plugin> p;
|
||||
p = find_plugin (_session, plugin_id, ARDOUR::LV2);
|
||||
if (!p) {
|
||||
|
|
@ -113,6 +113,9 @@ Auditioner::lookup_synth ()
|
|||
}
|
||||
}
|
||||
if (p) {
|
||||
if (plugin_id == X_("@default@")) {
|
||||
Config->set_midi_audition_synth_uri (p->get_info()->unique_id);
|
||||
}
|
||||
asynth = boost::shared_ptr<Processor> (new PluginInsert (_session, p));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue