diff options
author | Robin Gareus <robin@gareus.org> | 2014-06-13 13:05:10 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-06-13 13:51:42 +0200 |
commit | b68552d9a0786b8ebe89c011cc880f061cd4ba87 (patch) | |
tree | 6815eba8c9bf43d50ca238f64daba3ad898f10e5 /libs/ardour/send.cc | |
parent | d6c41f393588544af3276896abc1ac34acadd53a (diff) |
send-delayline: proper debug output (and sort includes on the way)
Diffstat (limited to 'libs/ardour/send.cc')
-rw-r--r-- | libs/ardour/send.cc | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/libs/ardour/send.cc b/libs/ardour/send.cc index 02365e967c..87aadf4193 100644 --- a/libs/ardour/send.cc +++ b/libs/ardour/send.cc @@ -24,12 +24,13 @@ #include "pbd/boost_debug.h" #include "ardour/amp.h" -#include "ardour/send.h" -#include "ardour/session.h" #include "ardour/buffer_set.h" -#include "ardour/meter.h" +#include "ardour/debug.h" #include "ardour/io.h" +#include "ardour/meter.h" #include "ardour/panner_shell.h" +#include "ardour/send.h" +#include "ardour/session.h" #include "i18n.h" @@ -129,7 +130,10 @@ Send::set_delay_in(framecnt_t delay) return; } _delay_in = delay; - cerr << "SEND DELAY Pre: " << delay << "\n"; + + DEBUG_TRACE (DEBUG::LatencyCompensation, + string_compose ("Send::set_delay_in(%1) + %2 = %3\n", + delay, _delay_out, _delay_out + _delay_in)); _delayline.get()->set_delay(_delay_out + _delay_in); } @@ -141,7 +145,9 @@ Send::set_delay_out(framecnt_t delay) return; } _delay_out = delay; - cerr << "SEND DELAY Post: " << delay << "\n"; + DEBUG_TRACE (DEBUG::LatencyCompensation, + string_compose ("Send::set_delay_out(%1) + %2 = %3\n", + delay, _delay_in, _delay_out + _delay_in)); _delayline.get()->set_delay(_delay_out + _delay_in); } |