projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
da632d3
)
python/demos/demo_reading_speed.py: avoid unused variable
author
Paul Brossier
<piem@piem.org>
Fri, 13 May 2016 15:13:35 +0000
(17:13 +0200)
committer
Paul Brossier
<piem@piem.org>
Fri, 13 May 2016 15:13:35 +0000
(17:13 +0200)
python/demos/demo_reading_speed.py
patch
|
blob
|
history
diff --git
a/python/demos/demo_reading_speed.py
b/python/demos/demo_reading_speed.py
index
dbf7caf
..
90739f3
100755
(executable)
--- a/
python/demos/demo_reading_speed.py
+++ b/
python/demos/demo_reading_speed.py
@@
-88,7
+88,7
@@
def read_file_aubio(filename):
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