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