You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/05/14 21:26:18 UTC

[1/3] wp7 commit: added output log for audio file not found

Updated Branches:
  refs/heads/master eac02c8fa -> fb9d7b41a


added output log for audio file not found


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

Branch: refs/heads/master
Commit: fb9d7b41a841a8959d4490f6b97cb1b2ebbc52f8
Parents: dfc5f2b
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Mon May 14 12:25:22 2012 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Mon May 14 12:25:22 2012 -0700

----------------------------------------------------------------------
 framework/Cordova/Commands/AudioPlayer.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/fb9d7b41/framework/Cordova/Commands/AudioPlayer.cs
----------------------------------------------------------------------
diff --git a/framework/Cordova/Commands/AudioPlayer.cs b/framework/Cordova/Commands/AudioPlayer.cs
index 75467ab..bbf28d4 100644
--- a/framework/Cordova/Commands/AudioPlayer.cs
+++ b/framework/Cordova/Commands/AudioPlayer.cs
@@ -22,6 +22,7 @@ using Microsoft.Xna.Framework;
 using Microsoft.Xna.Framework.Audio;
 using Microsoft.Xna.Framework.Media;
 using Microsoft.Phone.Controls;
+using System.Diagnostics;
 
 namespace WP7CordovaClassLib.Cordova.Commands
 {    
@@ -271,6 +272,7 @@ namespace WP7CordovaClassLib.Cordova.Commands
                             }
                             else
                             {
+                                Debug.WriteLine("Error: source doesn't exist :: " + filePath);
                                 throw new ArgumentException("Source doesn't exist");
                             }
                         }