diff options
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r-- | gtk2_ardour/rc_option_editor.cc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index 261537d8ff..d6e221f328 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -3176,8 +3176,24 @@ RCOptionEditor::RCOptionEditor () Gtkmm2ext::UI::instance()->set_tip (bo->tip_widget(), (_("<b>When enabled</b> the loop button does not start playback but forces playback to always play the loop\n\n" "<b>When disabled</b> the loop button starts playing the loop, but stop then cancels loop playback"))); + + add_option (_("Transport"), bo); + + ComboOption<LoopFadeChoice>* lca = new ComboOption<LoopFadeChoice> ( + "loop-fade-choice", + _("Loop Fades"), + sigc::mem_fun (*_rc_config, &RCConfiguration::get_loop_fade_choice), + sigc::mem_fun (*_rc_config, &RCConfiguration::set_loop_fade_choice) + ); + lca->add (NoLoopFade, _("No fades at loop boundaries")); + lca->add (EndLoopFade, _("Fade out at loop end")); + lca->add (BothLoopFade, _("Fade in at loop start & Fade out at loop end")); + lca->add (XFadeLoop, _("Cross-fade loop end and start")); + add_option (_("Transport"), lca); + Gtkmm2ext::UI::instance()->set_tip (lca->tip_widget(), _("Options for fades/crossfades at loop boundaries")); + add_option (_("Transport"), new OptionEditorHeading (_("Dropout (xrun) Handling"))); bo = new BoolOption ( "stop-recording-on-xrun", |