take process lock when adding processors:
[ardour.git] / gtk2_ardour / editor_audiotrack.cc
index 143da8aa08c8c267f4f13d79ed265961a33330ac..df88f7b65f5481c386176584a36b95e6e5f273b5 100644 (file)
@@ -17,8 +17,6 @@
 
 */
 
-#include "ardour/location.h"
-#include "ardour/audio_diskstream.h"
 #include "ardour/rc_configuration.h"
 
 #include "ardour_ui.h"
 using namespace ARDOUR;
 using namespace PBD;
 
-void
-Editor::set_show_waveforms_recording (bool yn)
-{
-       AudioTimeAxisView* atv;
-
-       if (_show_waveforms_recording != yn) {
-               _show_waveforms_recording = yn;
-               for (TrackViewList::iterator i = track_views.begin(); i != track_views.end(); ++i) {
-                       if ((atv = dynamic_cast<AudioTimeAxisView*>(*i)) != 0) {
-                               atv->set_show_waveforms_recording (yn);
-                       }
-               }
-       }
-}
-
 void
 Editor::start_updating_meters ()
 {
@@ -89,7 +72,7 @@ Editor::toggle_meter_updating()
        } else {
                stop_updating_meters ();
        }
-       
+
        track_canvas_allocate (track_canvas->get_allocation());
 }