[non-daw] [PATCH] Don't silence input ports.

[ Thread Index | Date Index | More lists.tuxfamily.org/non-daw Archives ]


Fix for input buffers being erroneously silenced when the transport
is not rolling.

---
 Timeline/Engine/Track.C |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/Timeline/Engine/Track.C b/Timeline/Engine/Track.C
index aab7027..2e0ed6f 100644
--- a/Timeline/Engine/Track.C
+++ b/Timeline/Engine/Track.C
@@ -157,8 +157,7 @@ Track::process_input ( nframes_t nframes )
 
     if ( ! transport->rolling )
     {
-        for ( int i = input.size(); i--; )
-            input[ i ].silence( nframes );
+        /* There is no work to do when we're not rolling. */
 
         return 0;
     }
-- 
1.5.6.5




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/