Prevent spinlock copy construction
[ardour.git] / gtk2_ardour / strip_silence_dialog.cc
index a2f8bc7983001ff6e72b4a7fd4215378b8f228bc..9ce3084fa905cd71c20790ade0c55499259ff2c0 100644 (file)
@@ -176,7 +176,7 @@ StripSilenceDialog::drop_rects ()
        _lock.unlock ();
 
        for (list<ViewInterval>::iterator v = views.begin(); v != views.end(); ++v) {
-               v->view->drop_silent_samples ();
+               v->view->drop_silent_frames ();
        }
 
        cancel_button->set_sensitive (false);
@@ -223,7 +223,7 @@ StripSilenceDialog::update_silence_rects ()
        double const y = _threshold.get_value();
 
        for (list<ViewInterval>::iterator v = views.begin(); v != views.end(); ++v) {
-               v->view->set_silent_samples (v->intervals, y);
+               v->view->set_silent_frames (v->intervals, y);
        }
 }