Commit 6f7db351 authored by zhangzhe's avatar zhangzhe

no message

parent b667ec14
...@@ -270,7 +270,7 @@ class SHInputController: SHBaseViewController ...@@ -270,7 +270,7 @@ class SHInputController: SHBaseViewController
self.dataModel.txt = self.shInputView.textView.text.substring(self.dataModel.rename.length, length: self.shInputView.textView.text.length - self.dataModel.rename.length) ?? "" self.dataModel.txt = self.shInputView.textView.text.substring(self.dataModel.rename.length, length: self.shInputView.textView.text.length - self.dataModel.rename.length) ?? ""
// 是否有录音都传, 用它来做为唯一表示 // 是否有录音都传, 用它来做为唯一表示
self.dataModel.pathFile = self.viewModel.documentFilePath + "/recorder.mp3" self.dataModel.pathFile = self.viewModel.documentFilePath + RecordMp3
self.dataModel.pcmPathFile = self.viewModel.documentFilePath + RecordCaf self.dataModel.pcmPathFile = self.viewModel.documentFilePath + RecordCaf
...@@ -779,7 +779,7 @@ extension SHInputController ...@@ -779,7 +779,7 @@ extension SHInputController
self.shInputView.bottomView.playView.isHidden = true self.shInputView.bottomView.playView.isHidden = true
self.shInputView.bottomView.setUpSubviewsLocation() self.shInputView.bottomView.setUpSubviewsLocation()
self.dataModel.pathFile = self.viewModel.documentFilePath + "/recorder.mp3" self.dataModel.pathFile = self.viewModel.documentFilePath + RecordMp3
self.dataModel.pcmPathFile = self.viewModel.documentFilePath + RecordCaf self.dataModel.pcmPathFile = self.viewModel.documentFilePath + RecordCaf
let mp3Path : String = DocumentPath + self.dataModel.pathFile let mp3Path : String = DocumentPath + self.dataModel.pathFile
let pcmPath : String = DocumentPath + self.dataModel.pcmPathFile let pcmPath : String = DocumentPath + self.dataModel.pcmPathFile
...@@ -873,7 +873,7 @@ extension SHInputController ...@@ -873,7 +873,7 @@ extension SHInputController
// MARK: - 播放 // MARK: - 播放
extension SHInputController: AVAudioPlayerDelegate { extension SHInputController: AVAudioPlayerDelegate {
// "/202009291601362601/recorder.mp3"
// MARK: 初始化播放器 // MARK: 初始化播放器
func initPlayer() func initPlayer()
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment