mirror of
https://github.com/romanz/amodem.git
synced 2026-03-20 17:39:30 +08:00
fixup! add file streaming support
This commit is contained in:
@@ -4,7 +4,7 @@ import wave
|
||||
|
||||
def test():
|
||||
p = wave.record('-', stdout=wave.sp.PIPE)
|
||||
f = stream.FileBuffer(p.stdout)
|
||||
f = stream.Reader(p.stdout)
|
||||
|
||||
result = zip(range(10), f)
|
||||
p.stop()
|
||||
|
||||
Reference in New Issue
Block a user