Parcourir la source

停止字幕 添加强制和非强制 参数

jsonwang il y a 3 ans
Parent
commit
ec88b24563
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      BFRecordScreenKit/Classes/BFVoiceRecordManager.swift

+ 2 - 2
BFRecordScreenKit/Classes/BFVoiceRecordManager.swift

@@ -73,7 +73,7 @@ class BFVoiceRecordManager: NSObject {
     }
     
     func cancelTitleService() {
-        audioRecorder?.cancelRecord()
+        audioRecorder?.stopNui_dialog(true)
         isStoping = false
 
     }
@@ -88,7 +88,7 @@ class BFVoiceRecordManager: NSObject {
         //停止录音机录音
         audioRecorder?.voiceRecorder.stop(true)
         //停止字幕服务
-        audioRecorder?.stopNui_dialog()
+        audioRecorder?.stopNui_dialog(false)
        
 
     }