修复进入后台录音失败后再也无法启动bug
authorliangzhenying <867174124@qq.com>
Sat, 7 Feb 2026 08:09:33 +0000 (16:09 +0800)
committerliangzhenying <867174124@qq.com>
Sat, 7 Feb 2026 08:09:33 +0000 (16:09 +0800)
ShenYin/ShenYin/UI/Raisound/record/AiMouseRecordManager.m

index 098568c..72afc2a 100644 (file)
@@ -70,6 +70,7 @@
 #pragma mark - Action
 - (void)start {
     // 在开始录音前重新配置音频会话,以应对外部改变
+    self.audioCapture = nil;
     [self setupAudioSession];
     [self.audioCapture startRunning];
 }