From: Paul Davis Date: Thu, 30 Oct 2014 00:16:47 +0000 (-0400) Subject: add new debug bit definitions and declarations for Waves backend X-Git-Tag: BUILD-ID~38 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=cdc46cef1ea5260517008a621127b57a98727de1;p=ardour.git add new debug bit definitions and declarations for Waves backend --- diff --git a/libs/backends/wavesaudio/debug.cc b/libs/backends/wavesaudio/debug.cc new file mode 100644 index 0000000000..0c7e463f94 --- /dev/null +++ b/libs/backends/wavesaudio/debug.cc @@ -0,0 +1,24 @@ +/* + Copyright (C) 2010 Paul Davis + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#include "debug.h" + +uint64_t PBD::DEBUG::WavesMIDI = PBD::new_debug_bit ("WavesMIDI"); +uint64_t PBD::DEBUG::WavesAudio = PBD::new_debug_bit ("WavesAudio"); + diff --git a/libs/backends/wavesaudio/debug.h b/libs/backends/wavesaudio/debug.h new file mode 100644 index 0000000000..31bea24c72 --- /dev/null +++ b/libs/backends/wavesaudio/debug.h @@ -0,0 +1,35 @@ +/* + Copyright (C) 2014 Paul Davis + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#ifndef __ardour_waves_backend_debug_h__ +#define __ardour_waves_backend_debug_h__ + +#include + +#include "pbd/debug.h" + +namespace PBD { + namespace DEBUG { + extern uint64_t WavesMIDI; + extern uint64_t WavesAudio; + } +} + +#endif /* __ardour_waves_backend_debug_h__ */ + diff --git a/libs/backends/wavesaudio/wscript b/libs/backends/wavesaudio/wscript index c1ff717d10..28efa2adde 100644 --- a/libs/backends/wavesaudio/wscript +++ b/libs/backends/wavesaudio/wscript @@ -38,6 +38,7 @@ def build(bld): obj.framework = 'CoreMIDI' obj.source = [ + 'debug.cc', 'waves_audiobackend.cc', 'waves_audiobackend.latency.cc', 'waves_audiobackend.midi.cc',