Explorar el Código

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

jsonwang hace 3 años
padre
commit
ec88b24563
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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)
        
 
     }