X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Faudio_region_editor.h;h=083a39dfbc736edf973e202febafdbb638790f07;hb=c229e31720013e5147efe2929204faee476bfe2d;hp=0d9292b483d84e16ebb30823a2e9c2377355d302;hpb=2a6a16f980ff9181b138f7a30aedfbde4426a591;p=ardour.git diff --git a/gtk2_ardour/audio_region_editor.h b/gtk2_ardour/audio_region_editor.h index 0d9292b483..083a39dfbc 100644 --- a/gtk2_ardour/audio_region_editor.h +++ b/gtk2_ardour/audio_region_editor.h @@ -34,14 +34,9 @@ #include #include -#include #include "pbd/signals.h" -#ifdef WIN32 -#include "pbd/glib_semaphore.h" -#else #include "pbd/crossthread.h" -#endif #include "audio_clock.h" #include "ardour_dialog.h" @@ -79,16 +74,11 @@ class AudioRegionEditor : public RegionEditor Gtk::Entry _peak_amplitude; void signal_peak_thread (); - void wait_for_signal (); pthread_t _peak_amplitude_thread_handle; void peak_amplitude_found (double); PBD::Signal1 PeakAmplitudeFound; PBD::ScopedConnection _peak_amplitude_connection; -#ifdef WIN32 - PBD::GlibSemaphore m_peak_sem; -#else CrossThreadChannel _peak_channel; -#endif }; #endif /* __gtk_ardour_audio_region_edit_h__ */