summaryrefslogtreecommitdiff
path: root/libs/ardour/delivery.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-04-28 12:03:16 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-04-28 12:03:16 +0000
commitf796c0f1775aa98e3da196dfb8addb3ce9900929 (patch)
tree2ef908658cdba6a2c27e838d8bc33e355a85adde /libs/ardour/delivery.cc
parent57f01f2d66ed0e32dd13b6f7bfd9771b46d69ade (diff)
remove some silent-buffer-detecting debugging code
git-svn-id: svn://localhost/ardour2/branches/3.0@7011 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/delivery.cc')
-rw-r--r--libs/ardour/delivery.cc24
1 files changed, 0 insertions, 24 deletions
diff --git a/libs/ardour/delivery.cc b/libs/ardour/delivery.cc
index 86a2f99c58..e2928c1f5b 100644
--- a/libs/ardour/delivery.cc
+++ b/libs/ardour/delivery.cc
@@ -290,30 +290,6 @@ Delivery::run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nfra
if (bufs.count().n_audio() > 0 && ports.count().n_audio () > 0) {
_output->copy_to_outputs (bufs, DataType::AUDIO, nframes, _output_offset);
-
- bool silent;
-
- for (uint32_t b = 0; b < bufs.count().n_audio(); ++b) {
-
- AudioBuffer& ab (bufs.get_audio (b));
- Sample* s = ab.data();
- nframes_t n;
-
- silent = false;
-
- for (n = 0; nframes < nframes; ++n) {
- if (s[n] != 0) {
- break;
- }
- }
- if (n == nframes) {
- silent = true;
- }
-
- if (silent) {
- cerr << _name << ": Buffer " << b << " is silent\n";
- }
- }
}
if (bufs.count().n_midi() > 0 && ports.count().n_midi () > 0) {