+ } else if (p == "waveform-scale") {
+ ArdourCanvas::WaveView::set_global_logscaled (UIConfiguration::instance().get_waveform_scale() == Logarithmic);
+ } else if (p == "widget-prelight") {
+ CairoWidget::set_widget_prelight (UIConfiguration::instance().get_widget_prelight());
+ } else if (p == "waveform-shape") {
+ ArdourCanvas::WaveView::set_global_shape (UIConfiguration::instance().get_waveform_shape() == Rectified
+ ? ArdourCanvas::WaveView::Rectified : ArdourCanvas::WaveView::Normal);
+ } else if (p == "show-waveform-clipping") {
+ ArdourCanvas::WaveView::set_global_show_waveform_clipping (UIConfiguration::instance().get_show_waveform_clipping());
+ } else if (p == "waveform-cache-size") {
+ /* GUI option has units of megabytes; image cache uses units of bytes */
+ ArdourCanvas::WaveView::set_image_cache_size (UIConfiguration::instance().get_waveform_cache_size() * 1048576);