shithub: sox

Download patch

ref: 332fb72884cd011fda3b4188f911c580454bc775
parent: 28396aaa1bc6774763d33169baf847cd4361f244
author: robs <robs>
date: Tue Dec 19 18:05:31 EST 2006

Repeat once seems to mean play twice

--- a/src/repeat.c
+++ b/src/repeat.c
@@ -59,7 +59,7 @@
 {
         repeat_t repeat = (repeat_t)effp->priv;
 
-        if (repeat->repeats == 1)
+        if (repeat->repeats == 0)
           return ST_EFF_NULL;
 
         if ((repeat->fp = tmpfile()) == NULL) {