, ProgressReporter ()
, _minimum_length (new AudioClock (X_("silence duration"), true, "", true, false, true, false))
, _fade_length (new AudioClock (X_("silence duration"), true, "", true, false, true, false))
- , _peaks_ready_connection (0)
, _destroying (false)
{
set_session (s);
_destroying = true;
/* Terminate our thread */
-
_lock.lock ();
_interthread_info.cancel = true;
_thread_should_finish = true;
delete _minimum_length;
delete _fade_length;
-
- delete _peaks_ready_connection;
}
void
private:
void create_waves ();
- void peaks_ready ();
void canvas_allocation (Gtk::Allocation &);
void update_silence_rects ();
void resize_silence_rects ();
std::list<ViewInterval> views;
- PBD::ScopedConnection* _peaks_ready_connection;
-
bool _destroying;
pthread_t _thread; ///< thread to compute silence in the background