无故事王国
2024-07-06 607c74dfcfb5e52e56604f635d1d6a081cddcace
DolphinEnglishLearnStudent/Config/VoicePlayer.swift
@@ -52,7 +52,8 @@
            func playerAt(url:String?){
                        guard let u = url else {return}
                        if player?.isPlaying ?? false{
                                    player?.stop()
//                                    player?.stop()
                                    return
                        }
                                    //文件存在:直接播放缓存路径的语音
                                    let fileURL = self.voiceCacheDirectory.appendingPathComponent(URL(fileURLWithPath: u).lastPathComponent).droppedScheme()