Update fay_booter.py

去掉调试信息
This commit is contained in:
guo zebin 2024-10-30 18:44:28 +08:00
parent f2194f08fd
commit 341d045375

View File

@ -55,7 +55,6 @@ class RecorderListener(Recorder):
device_info = self.paudio.get_device_info_by_index(device_id)
self.channels = device_info.get('maxInputChannels', 1) #很多麦克风只支持单声道录音
# self.sample_rate = int(device_info.get('defaultSampleRate', self.__RATE))
print(self.sample_rate)
# 设置格式这里以16位深度为例
format = pyaudio.paInt16