incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject ios commit: [CB-1384] Online .wav files cannot be played, but ones local to www can
Date Thu, 06 Sep 2012 23:04:43 GMT
Updated Branches:
  refs/heads/master ed7e5e44c -> 73f77bf0f


[CB-1384] Online .wav files cannot be played, but ones local to www can


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/73f77bf0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/73f77bf0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/73f77bf0

Branch: refs/heads/master
Commit: 73f77bf0f9bc0e2705ac75ac77ca587b5edfed99
Parents: ed7e5e4
Author: Shazron Abdullah <shazron@apache.org>
Authored: Thu Sep 6 16:04:22 2012 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Thu Sep 6 16:04:50 2012 -0700

----------------------------------------------------------------------
 CordovaLib/Classes/CDVSound.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/73f77bf0/CordovaLib/Classes/CDVSound.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVSound.m b/CordovaLib/Classes/CDVSound.m
index f0cec9c..5c40724 100644
--- a/CordovaLib/Classes/CDVSound.m
+++ b/CordovaLib/Classes/CDVSound.m
@@ -289,7 +289,7 @@
             // bug in AVAudioPlayer when playing downloaded data in NSData - we have to download
the file and play from disk
             CFUUIDRef uuidRef = CFUUIDCreate(kCFAllocatorDefault);
             CFStringRef uuidString = CFUUIDCreateString(kCFAllocatorDefault, uuidRef);
-            NSString* filePath = [NSString stringWithFormat:@"%@/%@.mp3", NSTemporaryDirectory(),
uuidString];
+            NSString* filePath = [NSString stringWithFormat:@"%@/%@.mp3", [NSTemporaryDirectory()
stringByStandardizingPath], uuidString];
             CFRelease(uuidString);
             CFRelease(uuidRef);
             


Mime
View raw message