ref: 30e080c5235922a9b784b5baba41393bb6b1dfcc
parent: 31c60100dbd786b407a078d891bf52a174ef6ad0
author: Paul Brossier <piem@piem.org>
date: Sat Aug 27 06:37:26 EDT 2016
python/demos/demo_source_simple.py: fix indentation
--- a/python/demos/demo_source_simple.py
+++ b/python/demos/demo_source_simple.py
@@ -7,9 +7,9 @@
total_frames = 0
while True: # reading loop
- samples, read = s()
- total_frames += read
- if read < hop_size: break # end of file reached
+ samples, read = s()
+ total_frames += read
+ if read < hop_size: break # end of file reached
fmt_string = "read {:d} frames at {:d}Hz from {:s}"
print (fmt_string.format(total_frames, s.samplerate, sys.argv[1]))