From 341d0453757796e1e6706728606b7bb5b8173094 Mon Sep 17 00:00:00 2001 From: guo zebin Date: Wed, 30 Oct 2024 18:44:28 +0800 Subject: [PATCH] Update fay_booter.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 去掉调试信息 --- fay_booter.py | 1 - 1 file changed, 1 deletion(-) diff --git a/fay_booter.py b/fay_booter.py index 08d6379..ee9943a 100644 --- a/fay_booter.py +++ b/fay_booter.py @@ -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