@capgo/native-audio 5.1.15 → 5.1.16
Sign up to get free protection for your applications and to get access to all the features.
@@ -28,7 +28,7 @@ public class AudioAsset: NSObject, AVAudioPlayerDelegate {
|
|
28
28
|
|
29
29
|
super.init()
|
30
30
|
|
31
|
-
let pathUrl: URL = URL(string: path)!
|
31
|
+
let pathUrl: URL = URL(string: path.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)!)!
|
32
32
|
for _ in 0..<channels {
|
33
33
|
do {
|
34
34
|
let player: AVAudioPlayer! = try AVAudioPlayer(contentsOf: pathUrl)
|