Temporal: add debug bits declaration

This commit is contained in:
Paul Davis 2020-08-05 16:10:46 -06:00
parent b0a732e636
commit d47d462182
2 changed files with 33 additions and 1 deletions

25
libs/temporal/debug.cc Normal file
View File

@ -0,0 +1,25 @@
/*
* Copyright (C) 2020 Paul Davis <paul@linuxaudiosystems.com>
*
* 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.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "temporal/debug.h"
using namespace std;
PBD::DebugBits PBD::DEBUG::TemporalMap = PBD::new_debug_bit ("TemporalMap");
PBD::DebugBits PBD::DEBUG::TemporalDomainConvert = PBD::new_debug_bit ("TemporalDomainConvert");

View File

@ -24,7 +24,14 @@ APPNAME = 'temporal'
VERSION = TEMPORAL_VERSION
I18N_PACKAGE = 'libtemporal'
temporal_sources = [ 'time.cc', 'bbt_time.cc', 'tempo.cc', 'timeline.cc', 'superclock.cc' ]
temporal_sources = [
'debug.cc',
'bbt_time.cc',
'tempo.cc',
'time.cc',
'timeline.cc',
'superclock.cc'
]
def options(opt):
autowaf.set_options(opt)