Fix socket read stream crashes and NameError on boot
This commit is contained in:
+1
-1
@@ -73,7 +73,7 @@ class ES7210:
|
||||
self.i2c.writeto_mem(self.ADDR, reg, bytes([val]))
|
||||
|
||||
|
||||
def record_audio(duration_seconds=5, filename='recording.pcm'):
|
||||
def record_audio(duration_seconds=10, filename='recording.pcm'):
|
||||
"""Records raw stereo PCM data from the dual microphones to a file.
|
||||
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user