Return silence from read_from_sources() if we try to read a channel that our source...
[ardour.git] / libs / ardour / sndfilesource.cc
index 644762f7210096e6fdcaf8825c9369c6f541b85d..0ec318a0ac372e7cb4480d6a001aed71bc209782 100644 (file)
@@ -35,8 +35,6 @@
 #include "ardour/sndfilesource.h"
 #include "ardour/sndfile_helpers.h"
 #include "ardour/utils.h"
-#include "ardour/version.h"
-#include "ardour/rc_configuration.h"
 #include "ardour/session.h"
 
 #include "i18n.h"
@@ -530,7 +528,6 @@ SndFileSource::flush_header ()
                return -1;
        }
 
-       std::cerr << "Flushing header of " << _path << " with length @ " << _length << endl;
        int const r = sf_command (sf, SFC_UPDATE_HEADER_NOW, 0, 0) != SF_TRUE;
        _descriptor->release ();