mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 00:03:45 +08:00
yaas
This commit is contained in:
@@ -97,9 +97,6 @@ class Mic:
|
||||
|
||||
@retry(attempts=10, delay=3)
|
||||
def get_stream(self, sd, device=None):
|
||||
# reload sounddevice to reinitialize portaudio
|
||||
sd._terminate()
|
||||
sd._initialize()
|
||||
kwargs = {
|
||||
"channels": 1,
|
||||
"samplerate": SAMPLE_RATE,
|
||||
|
||||
Reference in New Issue
Block a user