diff options
author | Carl Hetherington <carl@carlh.net> | 2011-04-04 12:21:26 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-04-04 12:21:26 +0000 |
commit | 02cfe41bff57712e59f7169037d694a3dd6a1420 (patch) | |
tree | 02d58170bfc5567caff21b8a6b08e66cd9f790dc /gtk2_ardour/audio_region_editor.h | |
parent | b850f5846799ce416b3203a4ee585f5d925ef066 (diff) |
Update region peak amplitude when the region is trimmed (#3931).
git-svn-id: svn://localhost/ardour2/branches/3.0@9276 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_region_editor.h')
-rw-r--r-- | gtk2_ardour/audio_region_editor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/audio_region_editor.h b/gtk2_ardour/audio_region_editor.h index f3accaf115..5c9e56d923 100644 --- a/gtk2_ardour/audio_region_editor.h +++ b/gtk2_ardour/audio_region_editor.h @@ -37,6 +37,7 @@ #include <libgnomecanvas/libgnomecanvas.h> #include "pbd/signals.h" +#include "pbd/crossthread.h" #include "audio_clock.h" #include "ardour_dialog.h" @@ -73,11 +74,11 @@ class AudioRegionEditor : public RegionEditor Gtk::Label _peak_amplitude_label; Gtk::Entry _peak_amplitude; - bool _peak_amplitude_found; pthread_t _peak_amplitude_thread_handle; void peak_amplitude_found (double); PBD::Signal1<void, double> PeakAmplitudeFound; PBD::ScopedConnection _peak_amplitude_connection; + CrossThreadChannel _peak_channel; }; #endif /* __gtk_ardour_audio_region_edit_h__ */ |