mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
provide an RC configuration variable to "shadow" Evoral::ControlList::thinning_factor
git-svn-id: svn://localhost/ardour2/branches/3.0@11796 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
bdde5da89b
commit
184c7cedf9
2 changed files with 3 additions and 0 deletions
|
|
@ -178,6 +178,7 @@ CONFIG_VARIABLE (bool, never_display_periodic_midi, "never-display-periodic-midi
|
|||
CONFIG_VARIABLE (bool, sound_midi_notes, "sound-midi-notes", false)
|
||||
CONFIG_VARIABLE (bool, use_plugin_own_gui, "use-plugin-own-gui", true)
|
||||
CONFIG_VARIABLE (uint32_t, max_recent_sessions, "max-recent-sessions", 10)
|
||||
CONFIG_VARIABLE (double, automation_thinning_factor, "automation-thinning-factor", 20.0)
|
||||
|
||||
/* denormal management */
|
||||
|
||||
|
|
|
|||
|
|
@ -3579,6 +3579,8 @@ Session::config_changed (std::string p, bool ours)
|
|||
last_timecode_valid = false;
|
||||
} else if (p == "playback-buffer-seconds") {
|
||||
AudioSource::allocate_working_buffers (frame_rate());
|
||||
} else if (p == "automation-thinning-factor") {
|
||||
Evoral::ControlList::set_thinning_factor (Config->get_automation_thinning_factor());
|
||||
}
|
||||
|
||||
set_dirty ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue