From 93a64cb4fc1817bc0640e76de6b826d4fbfbd8c0 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 16 Jun 2015 10:06:27 -0400 Subject: [PATCH] new PBD::DEBUG API changes for Waves backend --- libs/backends/wavesaudio/waves_midi_event.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/backends/wavesaudio/waves_midi_event.cc b/libs/backends/wavesaudio/waves_midi_event.cc index 0afe168c92..f75946c6a4 100644 --- a/libs/backends/wavesaudio/waves_midi_event.cc +++ b/libs/backends/wavesaudio/waves_midi_event.cc @@ -48,7 +48,7 @@ WavesMidiEvent::WavesMidiEvent (PmTimestamp timestamp, const uint8_t* data, size memcpy (_data, data, datalen); #ifndef NDEBUG - if (DEBUG::WavesMIDI & PBD::debug_bits) { + if (DEBUG_ENABLED (DEBUG::WavesMIDI)) { DEBUG_STR_DECL(a); for (size_t i=0; i < datalen; ++i) { DEBUG_STR_APPEND(a,std::hex); @@ -76,7 +76,7 @@ WavesMidiEvent::WavesMidiEvent (const WavesMidiEvent& source) memcpy (_data, source.const_data (), source.size ()); #ifndef NDEBUG - if (DEBUG::WavesMIDI & PBD::debug_bits) { + if (DEBUG_ENABLED (DEBUG::WavesMIDI)) { DEBUG_STR_DECL(a); for (size_t i=0; i < source.size(); ++i) { DEBUG_STR_APPEND(a,std::hex);