Fix off-by-one in body_range().
[ardour.git] / libs / ardour / process_thread.cc
index 666c64e2111f50aa07b654d518bbd8cd6bf1c213..55aa692001b667fca760a52b2c3db77f3c9ecc31 100644 (file)
@@ -18,7 +18,7 @@
 */
 
 #include <iostream>
-#include "ardour/audioengine.h"
+
 #include "ardour/buffer.h"
 #include "ardour/buffer_manager.h"
 #include "ardour/buffer_set.h"
@@ -44,7 +44,6 @@ ProcessThread::init ()
 }
 
 ProcessThread::ProcessThread ()
-        : _thread (0)
 {
 }
 
@@ -84,10 +83,6 @@ ProcessThread::get_silent_buffers (ChanCount count)
 
        for (DataType::iterator t = DataType::begin(); t != DataType::end(); ++t) {
                for (size_t i= 0; i < count.get(*t); ++i) {
-                       /* every call to get_silent_buffers() by a given thread
-                        * requires that we re-silence them.
-                        */
-                       sb->get(*t, i).is_silent(false);
                        sb->get(*t, i).clear();
                }
        }