Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -29,8 +29,6 @@ def slice_source_at_stamps(source_file, timestamps, timestamps_end = None, · 28 unmodified lines | |||
| 29 | total_frames = 0 | 29 | total_frames = 0 |
| 30 | # get next region | 30 | # get next region |
| 31 | next_stamp = int(timestamps.pop(0)) | 31 | next_stamp = int(timestamps.pop(0)) |
| 32 | if not next_stamp: | ||
| 33 | next_stamp = int(timestamps.pop(0)) | ||
| 34 | 32 | ||
| 35 | while True: | 33 | while True: |
| 36 | # get hopsize new samples from source | 34 | # get hopsize new samples from source |