X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Faudio_region_editor.cc;h=2041d20335feb17e289c4d488db29f4817214416;hb=a9163e9208f16519bba907df6c7563590574780e;hp=03d3e472640e4204ee8c00fce2619f34e633a2a6;hpb=5dca8270eb589cc60c756e09bd02ce323805b741;p=ardour.git diff --git a/gtk2_ardour/audio_region_editor.cc b/gtk2_ardour/audio_region_editor.cc index 03d3e47264..2041d20335 100644 --- a/gtk2_ardour/audio_region_editor.cc +++ b/gtk2_ardour/audio_region_editor.cc @@ -32,7 +32,6 @@ #include "audio_region_editor.h" #include "audio_region_view.h" #include "ardour_ui.h" -#include "utils.h" #include "gui_thread.h" #include "i18n.h" @@ -54,7 +53,7 @@ AudioRegionEditor::AudioRegionEditor (Session* s, boost::shared_ptr : RegionEditor (s, r) , _audio_region (r) , gain_adjustment(accurate_coefficient_to_dB(_audio_region->scale_amplitude()), -40.0, +40.0, 0.1, 1.0, 0) -#ifndef WIN32 +#ifndef PLATFORM_WINDOWS , _peak_channel (false) #endif { @@ -138,7 +137,7 @@ AudioRegionEditor::gain_adjustment_changed () void AudioRegionEditor::signal_peak_thread () { -#ifdef WIN32 +#ifdef PLATFORM_WINDOWS m_peak_sem.post (); #else _peak_channel.deliver ('c'); @@ -148,7 +147,7 @@ AudioRegionEditor::signal_peak_thread () void AudioRegionEditor::wait_for_signal () { -#ifdef WIN32 +#ifdef PLATFORM_WINDOWS m_peak_sem.wait (); #else char msg;