add an Amp to Delivery, remove it from Send, make use of this in various ::run()...
[ardour.git] / gtk2_ardour / ardour_ui_options.cc
index a354d47dfca60b4312a0a10f5d95010489af5c3c..0c59a6621343ec601256785bff69e7207f617ddb 100644 (file)
@@ -423,6 +423,11 @@ ARDOUR_UI::parameter_changed (std::string p)
                                ? ArdourCanvas::WaveView::Rectified : ArdourCanvas::WaveView::Normal);
        } else if (p == "show-waveform-clipping") {
                ArdourCanvas::WaveView::set_global_show_waveform_clipping (ARDOUR_UI::config()->get_show_waveform_clipping());
+       } else if (p == "font-scale") {
+               ui_scale = config()->get_font_scale () / 102400.;
+       } else if (p == "waveform-cache-size") {
+               /* GUI option has units of megabytes; image cache uses units of bytes */
+               ArdourCanvas::WaveView::set_image_cache_size (ARDOUR_UI::config()->get_waveform_cache_size() * 1048576);
        }
 }