auditioner does not care about the state of its diskwriter processor
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 25 Jul 2017 15:38:16 +0000 (11:38 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 18 Sep 2017 15:40:53 +0000 (11:40 -0400)
libs/ardour/auditioner.cc

index 9032f2a30b4acb61f2a58a7f523c3576f191b6ad..acb763a3dd7cd4d61b60ba299bd5f67f4b26e19a 100644 (file)
@@ -246,6 +246,14 @@ Auditioner::roll (pframes_t nframes, framepos_t start_frame, framepos_t end_fram
 
        process_output_buffers (bufs, start_frame, end_frame, nframes, declick, !_session.transport_stopped());
 
+       /* note: auditioner never writes to disk, so we don't care about the
+        * disk writer status (it's buffers will always have no data in them).
+        */
+
+       if (_disk_reader->need_butler()) {
+               need_butler = true;
+       }
+
        for (ProcessorList::iterator i = _processors.begin(); i != _processors.end(); ++i) {
                boost::shared_ptr<Delivery> d = boost::dynamic_pointer_cast<Delivery> (*i);
                if (d) {