Promote the preroll_seconds config option to include musical time:

Interpret negative preroll time as bars
This commit is contained in:
Robin Gareus 2017-01-18 23:47:50 +01:00
parent d650b3c292
commit ef64c7ba19
2 changed files with 8 additions and 6 deletions

View file

@ -2999,8 +2999,11 @@ RCOptionEditor::RCOptionEditor ()
sigc::mem_fun (*_rc_config, &RCConfiguration::set_preroll_seconds)
);
Gtkmm2ext::UI::instance()->set_tip (psc->tip_widget(),
(_("The amount of preroll (in seconds) to apply when <b>Play with Preroll</b> is initiated.\n\n"
(_("The amount of preroll to apply when <b>Play with Preroll</b> or <b>Record with Preroll</b>is initiated.\n\n"
"If <b>Follow Edits</b> is enabled, the preroll is applied to the playhead position when a region is selected or trimmed.")));
psc->add (-4.0, _("4 Bars"));
psc->add (-2.0, _("2 Bars"));
psc->add (-1.0, _("1 Bar"));
psc->add (0.0, _("0 (no pre-roll)"));
psc->add (0.1, _("0.1 second"));
psc->add (0.25, _("0.25 second"));