diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-24 13:26:56 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-24 13:26:56 +0000 |
commit | f8fe64a91e7ae7f6ac761e8ae16a485ed70fb994 (patch) | |
tree | 7b2942e9bdbb4f1b52d53640b62411c8da9d4e0b /libs/ardour/globals.cc | |
parent | dbc75e074912fc3647899711e838d4e5b675e175 (diff) |
(FULL commit) start of a nominal debug tracing system, with 64 bits available for flags; track notes by region in MidiPlaylist, and resolve them if they are left hanging at region boundaries. note: MIDI playback is still not working 100% though its better now.
git-svn-id: svn://localhost/ardour2/branches/3.0@5903 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/globals.cc')
-rw-r--r-- | libs/ardour/globals.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc index e7fd81349f..6cd6d0ea16 100644 --- a/libs/ardour/globals.cc +++ b/libs/ardour/globals.cc @@ -59,6 +59,7 @@ #include "midi++/mmc.h" #include "ardour/ardour.h" +#include "ardour/debug.h" #include "ardour/analyser.h" #include "ardour/audio_library.h" #include "ardour/rc_configuration.h" @@ -89,6 +90,8 @@ using namespace ARDOUR; using namespace std; using namespace PBD; +uint64_t ARDOUR::debug_bits = 0x0; + MIDI::Port *ARDOUR::default_mmc_port = 0; MIDI::Port *ARDOUR::default_mtc_port = 0; MIDI::Port *ARDOUR::default_midi_port = 0; @@ -108,6 +111,18 @@ mix_buffers_no_gain_t ARDOUR::mix_buffers_no_gain = 0; sigc::signal<void,std::string> ARDOUR::BootMessage; +void +ARDOUR::debug_print (std::string str) +{ + cerr << str; +} + +void +ARDOUR::set_debug_bits (uint64_t bits) +{ + debug_bits = bits; +} + int ARDOUR::setup_midi () { |