add session-scope selection ops for Stripables
[ardour.git] / libs / ardour / ardour / audiosource.h
index ad7884e4f42ea74c33a8cf390bd1a687435f90cb..59d5add12237bfa39892cbfe3b20749d83ca7e09 100644 (file)
@@ -96,6 +96,7 @@ class LIBARDOUR_API AudioSource : virtual public Source,
        }
 
        virtual int setup_peakfile () { return 0; }
+       int close_peakfile ();
 
        int prepare_for_peakfile_writes ();
        void done_with_peakfile_writes (bool done = true);
@@ -155,6 +156,7 @@ class LIBARDOUR_API AudioSource : virtual public Source,
         *  during the handling of the signal.
         */
         mutable Glib::Threads::Mutex _peaks_ready_lock;
+        Glib::Threads::Mutex _initialize_peaks_lock;
 
        int        _peakfile_fd;
        framecnt_t peak_leftover_cnt;