diff options
author | John Anderson <ardour@semiosix.com> | 2007-08-01 09:48:42 +0000 |
---|---|---|
committer | John Anderson <ardour@semiosix.com> | 2007-08-01 09:48:42 +0000 |
commit | 4b6986816f6c4830e8b5fb112e356ceb5b1aa192 (patch) | |
tree | f162c4fc1b797285811e3e38a0b83c16c1541be4 /libs/surfaces/mackie/mackie_midi_builder.cc | |
parent | 0b53f44373804f85151a51186b4c222dd5ee244f (diff) |
#ifdef around debug cout calls. Make sure -DDEBUG is passed to compiler.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2209 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/mackie/mackie_midi_builder.cc')
-rw-r--r-- | libs/surfaces/mackie/mackie_midi_builder.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libs/surfaces/mackie/mackie_midi_builder.cc b/libs/surfaces/mackie/mackie_midi_builder.cc index d16aecf5e1..872b63d02a 100644 --- a/libs/surfaces/mackie/mackie_midi_builder.cc +++ b/libs/surfaces/mackie/mackie_midi_builder.cc @@ -191,9 +191,11 @@ MidiByteArray MackieMidiBuilder::strip_display( const Strip & strip, unsigned in { throw runtime_error( "strip.index() must be between 0 and 7" ); } - + +#ifdef DEBUG cout << "MackieMidiBuilder::strip_display index: " << strip.index() << ", line " << line_number << ": " << line << endl; - +#endif + MidiByteArray retval; // code for display retval << 0x12; @@ -207,7 +209,9 @@ MidiByteArray MackieMidiBuilder::strip_display( const Strip & strip, unsigned in retval << ' '; } +#ifdef DEBUG cout << "MackieMidiBuilder::strip_display midi: " << retval << endl; +#endif return retval; } |