[bug] board

This commit is contained in:
IrvingGao 2024-05-23 22:37:37 +08:00
parent bf07e7bc5e
commit 47844e2bcc
2 changed files with 1 additions and 2 deletions

View File

@ -157,7 +157,6 @@ class WebSocketClinet:
last_short_power_status = ~recorder.hardware.short_power_status last_short_power_status = ~recorder.hardware.short_power_status
else: else:
last_short_power_status = recorder.hardware.short_power_status last_short_power_status = recorder.hardware.short_power_status
except: except:
pass pass
else: else:

View File

@ -118,7 +118,7 @@ if __name__ == '__main__':
parser.add_argument('--IN_frames_per_buffer', type=int, default=512, help='Frames per buffer') parser.add_argument('--IN_frames_per_buffer', type=int, default=512, help='Frames per buffer')
parser.add_argument('--min_stream_record_time', type=float, default=0.5, help='Min stream record time, sec') parser.add_argument('--min_stream_record_time', type=float, default=0.5, help='Min stream record time, sec')
parser.add_argument('--max_slience_time', type=int, default=10, help='Max slient time when recording, sec') parser.add_argument('--max_slience_time', type=int, default=10, help='Max slient time when recording, sec')
parser.add_argument('--min_act_time', type=float, default=0.3, help='Min inactive time, sec') # 等待多少秒沉默就发送音频 parser.add_argument('--min_act_time', type=float, default=0.6, help='Min inactive time, sec') # 等待多少秒沉默就发送音频
parser.add_argument('--mircophone_device', type=int, default=mircophone_device, help='Microphone device index') parser.add_argument('--mircophone_device', type=int, default=mircophone_device, help='Microphone device index')
# player paramters # player paramters