DummyBackend: fix midi event mux+sorting
[ardour.git] / libs / ardour / port_insert.cc
index 97fe082c815c0957ba1013591038ccda81f77643..fa09ea05ac8dd11e3b2f2358ebed1b5eb4e81b66 100644 (file)
@@ -116,7 +116,6 @@ PortInsert::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame,
 
                         _mtdm->process (nframes, in, out);
                        
-                        outbuf.set_is_silent (false);
                         outbuf.set_written (true);
                 }
 
@@ -250,7 +249,9 @@ PortInsert::signal_latency() const
 bool
 PortInsert::configure_io (ChanCount in, ChanCount out)
 {
+#ifndef PLATFORM_WINDOWS
        assert (!AudioEngine::instance()->process_lock().trylock());
+#endif
 
        /* for an insert, processor input corresponds to IO output, and vice versa */