We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af472bf commit cab9211Copy full SHA for cab9211
examples/fetch_stats.py
@@ -48,15 +48,13 @@ def print_action(action):
48
print_stats(action)
49
print('starting recording to buffer ...')
50
action = stream.record_buffer(buffer, channels=channels)
51
- # TODO: check if recording started successfully?
52
stream.wait(action)
53
print('result:')
54
print_action(action)
55
print('stats from finished recording:')
56
57
print('starting recording to ringbuffer ...')
58
action = stream.record_ringbuffer(ringbuffer, channels=channels)
59
60
# NB: We are writing to the ringbuffer, but we are not reading from it,
61
# which will lead to an overflow
62
print('waiting for ring buffer to fill up ...')
0 commit comments