parent
e26e700a21
commit
63fe8e7e9e
|
|
@ -54,7 +54,7 @@ class Reader(threading.Thread):
|
|||
|
||||
def mic_idx(self):
|
||||
mics = []
|
||||
while not mics:
|
||||
while not mics and not self.should_stop():
|
||||
log(f'searching for one of {self.name.split(",")} in {sr.Microphone.list_microphone_names()}...')
|
||||
time.sleep(1)
|
||||
mics = [
|
||||
|
|
|
|||
Loading…
Reference in New Issue