#include "pbd/replace_all.h"
#include "pbd/unknown_type.h"
#include "pbd/enumwriter.h"
+#include "pbd/locale_guard.h"
#include "pbd/types_convert.h"
#include "ardour/audioengine.h"
/* io_lock, not taken: function must be called from Session::process() calltree */
for (PortSet::iterator i = _ports.begin(); i != _ports.end(); ++i) {
- i->get_buffer(nframes).silence (nframes);
+ if (i->port_handle ()) {
+ i->get_buffer(nframes).silence (nframes);
+ }
}
}