History

python/demos/demo_reading_speed.py: avoid unused variable

Paul Brossier committed 10 years ago

Commit dee266f1 parent da632d31 file · +1 −1Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/demos/demo_reading_speed.py+1−1
@@ -88,7 +88,7 @@ def read_file_aubio(filename): · 87 unmodified lines
8888 f = aubio.source(filename, hop_size = 1024)
8989 total_frames = 0
9090 while True:
91− samples, read = f()
91+ _, read = f()
9292 total_frames += read
9393 if read < f.hop_size: break
9494 return total_frames, f.samplerate

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t