History

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

Paul Brossier committed 12 years ago

Commit d9459761 parent a4ec1891 file · +0 −2Browse files

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

Unified · Split

python/lib/aubio/slicing.py+0−2
@@ -29,8 +29,6 @@ def slice_source_at_stamps(source_file, timestamps, timestamps_end = None, · 28 unmodified lines
2929 total_frames = 0
3030 # get next region
3131 next_stamp = int(timestamps.pop(0))
32− if not next_stamp:
33− next_stamp = int(timestamps.pop(0))
3432
3533 while True:
3634 # get hopsize new samples from source

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