Skip to content

Commit cab9211

Browse files
committed
fetch_stats example: remove 2 TODOs
1 parent af472bf commit cab9211

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

examples/fetch_stats.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,13 @@ def print_action(action):
4848
print_stats(action)
4949
print('starting recording to buffer ...')
5050
action = stream.record_buffer(buffer, channels=channels)
51-
# TODO: check if recording started successfully?
5251
stream.wait(action)
5352
print('result:')
5453
print_action(action)
5554
print('stats from finished recording:')
5655
print_stats(action)
5756
print('starting recording to ringbuffer ...')
5857
action = stream.record_ringbuffer(ringbuffer, channels=channels)
59-
# TODO: check if recording started successfully?
6058
# NB: We are writing to the ringbuffer, but we are not reading from it,
6159
# which will lead to an overflow
6260
print('waiting for ring buffer to fill up ...')

0 commit comments

Comments
 (0)