13
0

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:
Paul Davis 2012-04-05 12:08:59 +00:00
parent bdde5da89b
commit 184c7cedf9
2 changed files with 3 additions and 0 deletions

View File

@ -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 */

View File

@ -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 ();