Add Auditioned to Export Report Dialog.
[ardour.git] / gtk2_ardour / session_option_editor.cc
index e75cf873f203fd7f3b75a27be89b4a48c299ee01..fa02278752e70542a612e9303ae0cb8bec755aee 100644 (file)
@@ -141,6 +141,20 @@ SessionOptionEditor::SessionOptionEditor (Session* s)
                _("ms")
                            ));
 
+       add_option (_("Fades"), new BoolOption (
+                           "use-transport-fades",
+                           _("Declick when transport starts and stops"),
+                           sigc::mem_fun (*_session_config, &SessionConfiguration::get_use_transport_fades),
+                           sigc::mem_fun (*_session_config, &SessionConfiguration::set_use_transport_fades)
+                           ));
+
+       add_option (_("Fades"), new BoolOption (
+                           "use-monitor-fades",
+                           _("Declick when monitor state changes"),
+                           sigc::mem_fun (*_session_config, &SessionConfiguration::get_use_monitor_fades),
+                           sigc::mem_fun (*_session_config, &SessionConfiguration::set_use_monitor_fades)
+                           ));
+
        add_option (_("Fades"), new BoolOption (
                            "use-region-fades",
                            _("Region fades active"),
@@ -179,10 +193,17 @@ SessionOptionEditor::SessionOptionEditor (Session* s)
                sigc::mem_fun (*_session_config, &SessionConfiguration::set_native_file_header_format)
                );
 
-       hf->add (BWF, _("Broadcast WAVE"));
-       hf->add (WAVE, _("WAVE"));
+       hf->add (BWF, _("Broadcast WAVE (4GB size limit)"));
+#ifdef HAVE_RF64_RIFF
+       hf->add (MBWF, _("Broadcast RF64"));
+#endif
+       hf->add (WAVE, _("WAVE (4GB size limit)"));
        hf->add (WAVE64, _("WAVE-64"));
        hf->add (CAF, _("CAF"));
+       hf->add (RF64, _("RF64"));
+#ifdef HAVE_RF64_RIFF
+       hf->add (RF64_WAV, _("RF64 (WAV compatible)"));
+#endif
 
        add_option (_("Media"), hf);
 
@@ -395,7 +416,7 @@ SessionOptionEditor::parameter_changed (std::string const & p)
 bool
 SessionOptionEditor::set_use_monitor_section (bool yn)
 {
-       bool had_monitor_section = _session->monitor_out();
+       bool had_monitor_section = _session->monitor_out() != 0;
 
        if (yn) {
                _session->add_monitor_section ();
@@ -404,10 +425,10 @@ SessionOptionEditor::set_use_monitor_section (bool yn)
        }
 
        /* store this choice for any new sessions */
-       
+
        Config->set_use_monitor_bus (yn);
 
-       return had_monitor_section != yn;
+       return had_monitor_section != (_session->monitor_out() != 0);
 }
 
 bool