shithub: aubio

Download patch

ref: d9459762732e2a3463fbe2c5a35f2bb63d1ac5d2
parent: a4ec189f8fd69609f230d4ebfbd6a7e5e73bdfee
author: Paul Brossier <piem@piem.org>
date: Sat Jan 11 19:00:15 EST 2014

python/lib/aubio/slicing.py: next_stamp can be 0

--- a/python/lib/aubio/slicing.py
+++ b/python/lib/aubio/slicing.py
@@ -29,8 +29,6 @@
     total_frames = 0
     # get next region
     next_stamp = int(timestamps.pop(0))
-    if not next_stamp:
-        next_stamp = int(timestamps.pop(0))
 
     while True:
         # get hopsize new samples from source