implement file-[un]archive progress report
[ardour.git] / libs / ardour / internal_send.cc
index 6a21e2b5ac7b8daeb06d6a8e35bf3d82225e02e7..1746b00847e49a739f19293de18269fa3fb4ed62 100644 (file)
@@ -30,7 +30,7 @@
 #include "ardour/session.h"
 #include "ardour/audioengine.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 namespace ARDOUR { class MuteMaster; class Pannable; }
 
@@ -144,7 +144,9 @@ InternalSend::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame
        // in-place, which a send must never do.
 
        if (_panshell && !_panshell->bypassed() && role() != Listen) {
-               _panshell->run (bufs, mixbufs, start_frame, end_frame, nframes);
+               if (mixbufs.count ().n_audio () > 0) {
+                       _panshell->run (bufs, mixbufs, start_frame, end_frame, nframes);
+               }
 
                /* non-audio data will not have been copied by the panner, do it now
                 * if there are more buffers available than send buffers, ignore them,