rename TempoMap::cut_time() to remove_time()
[ardour.git] / gtk2_ardour / audio_region_editor.cc
index 03d3e472640e4204ee8c00fce2619f34e633a2a6..2041d20335feb17e289c4d488db29f4817214416 100644 (file)
@@ -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<AudioRegion>
        : 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;