- ARDOUR::framecnt_t minimum_length () const;
- ARDOUR::framecnt_t fade_length () const;
+ ARDOUR::samplecnt_t minimum_length () const;
+ ARDOUR::samplecnt_t fade_length () const;
+
+ void on_response (int response_id) {
+ Gtk::Dialog::on_response (response_id);
+ }
bool _destroying;
pthread_t _thread; ///< thread to compute silence in the background
static void * _detection_thread_work (void *);
void * detection_thread_work ();
bool _destroying;
pthread_t _thread; ///< thread to compute silence in the background
static void * _detection_thread_work (void *);
void * detection_thread_work ();
- Glib::Mutex _lock; ///< lock held while the thread is doing work
- Glib::Cond _run_cond; ///< condition to wake the thread
+ Glib::Threads::Mutex _lock; ///< lock held while the thread is doing work
+ Glib::Threads::Cond _run_cond; ///< condition to wake the thread
bool _thread_should_finish; ///< true if the thread should terminate
PBD::Signal0<void> Completed; ///< emitted when a silence detection has completed
PBD::ScopedConnection _completed_connection;
ARDOUR::InterThreadInfo _interthread_info;
bool _thread_should_finish; ///< true if the thread should terminate
PBD::Signal0<void> Completed; ///< emitted when a silence detection has completed
PBD::ScopedConnection _completed_connection;
ARDOUR::InterThreadInfo _interthread_info;