python/demos/demo_reading_speed.py: avoid unused variable
authorPaul Brossier <piem@piem.org>
Fri, 13 May 2016 15:13:35 +0000 (17:13 +0200)
committerPaul Brossier <piem@piem.org>
Fri, 13 May 2016 15:13:35 +0000 (17:13 +0200)
python/demos/demo_reading_speed.py

index dbf7caf..90739f3 100755 (executable)
@@ -88,7 +88,7 @@ def read_file_aubio(filename):
     f = aubio.source(filename, hop_size = 1024)
     total_frames = 0
     while True:
     f = aubio.source(filename, hop_size = 1024)
     total_frames = 0
     while True:
-        samples, read = f()
+        _, read = f()
         total_frames += read
         if read < f.hop_size: break
     return total_frames, f.samplerate
         total_frames += read
         if read < f.hop_size: break
     return total_frames, f.samplerate