rhyme 5 年 前
コミット
8722e3b05e
1 ファイル変更1 行追加1 行削除
  1. 1 1
      ios/Classes/FlutterSoundPlugin.m

+ 1 - 1
ios/Classes/FlutterSoundPlugin.m

@@ -202,7 +202,7 @@ NSString* status = [NSString stringWithFormat:@"{\"current_position\": \"%@\"}",
 
     audioFileURL = [NSURL fileURLWithPath:[GetDirectoryOfType_FlutterSound(NSCachesDirectory) stringByAppendingString:@"sound.aac"]];
   } else {
-    audioFileURL = [NSURL fileURLWithPath: [GetDirectoryOfType_FlutterSound(NSCachesDirectory) stringByAppendingString:path]];
+    audioFileURL = [NSURL fileURLWithPath:path];
   }
 
   NSMutableDictionary *audioSettings = [NSMutableDictionary dictionaryWithObjectsAndKeys: