EXPERIMENTAL! NEEDS TESTING! remove "offset" from almost everything in the process...
[ardour.git] / libs / ardour / auditioner.cc
index 7f1154a13d017288b296a3f0616a307c945a1c8e..b9ebace35203e58901910d9bac4c1389e0ba8fd0 100644 (file)
@@ -173,7 +173,7 @@ Auditioner::play_audition (nframes_t nframes)
        int ret;
 
        if (g_atomic_int_get (&_active) == 0) {
-               silence (nframes, 0);
+               silence (nframes);
                return 0;
        }
 
@@ -181,8 +181,8 @@ Auditioner::play_audition (nframes_t nframes)
 
        _diskstream->prepare ();
 
-       if ((ret = roll (this_nframes, current_frame, current_frame + nframes, 0, false, false, false)) != 0) {
-               silence (nframes, 0);
+       if ((ret = roll (this_nframes, current_frame, current_frame + nframes, false, false, false)) != 0) {
+               silence (nframes);
                return ret;
        }