mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-22 14:46:34 +01:00
add new debug bit definitions and declarations for Waves backend
This commit is contained in:
parent
16e3983e11
commit
cdc46cef1e
3 changed files with 60 additions and 0 deletions
24
libs/backends/wavesaudio/debug.cc
Normal file
24
libs/backends/wavesaudio/debug.cc
Normal file
|
|
@ -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");
|
||||||
|
|
||||||
35
libs/backends/wavesaudio/debug.h
Normal file
35
libs/backends/wavesaudio/debug.h
Normal file
|
|
@ -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 <stdint.h>
|
||||||
|
|
||||||
|
#include "pbd/debug.h"
|
||||||
|
|
||||||
|
namespace PBD {
|
||||||
|
namespace DEBUG {
|
||||||
|
extern uint64_t WavesMIDI;
|
||||||
|
extern uint64_t WavesAudio;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* __ardour_waves_backend_debug_h__ */
|
||||||
|
|
||||||
|
|
@ -38,6 +38,7 @@ def build(bld):
|
||||||
obj.framework = 'CoreMIDI'
|
obj.framework = 'CoreMIDI'
|
||||||
|
|
||||||
obj.source = [
|
obj.source = [
|
||||||
|
'debug.cc',
|
||||||
'waves_audiobackend.cc',
|
'waves_audiobackend.cc',
|
||||||
'waves_audiobackend.latency.cc',
|
'waves_audiobackend.latency.cc',
|
||||||
'waves_audiobackend.midi.cc',
|
'waves_audiobackend.midi.cc',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue