cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From macdo...@apache.org
Subject [3/3] cordova-plugin-media git commit: CB-9487: Don't update position when getting amplitude
Date Tue, 26 Apr 2016 16:15:09 GMT
CB-9487: Don't update position when getting amplitude


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/commit/e4e30ae9
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/tree/e4e30ae9
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/diff/e4e30ae9

Branch: refs/heads/master
Commit: e4e30ae9e98df22486c3f99060a5939ad9514c2c
Parents: 16729db
Author: Simon MacDonald <simon.macdonald@gmail.com>
Authored: Wed Apr 6 12:21:43 2016 -0400
Committer: Simon MacDonald <simon.macdonald@gmail.com>
Committed: Tue Apr 26 12:10:31 2016 -0400

----------------------------------------------------------------------
 src/ios/CDVSound.m | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/blob/e4e30ae9/src/ios/CDVSound.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVSound.m b/src/ios/CDVSound.m
index d99f181..5c3245a 100644
--- a/src/ios/CDVSound.m
+++ b/src/ios/CDVSound.m
@@ -864,9 +864,6 @@
         }
     }
     CDVPluginResult* result = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsDouble:amplitude];
-
-    NSString* jsString = [NSString stringWithFormat:@"%@(\"%@\",%d,%.3f);", @"cordova.require('cordova-plugin-media.Media').onStatus",
mediaId, MEDIA_POSITION, amplitude];
-    [self.commandDelegate evalJs:jsString];
     [self.commandDelegate sendPluginResult:result callbackId:callbackId];
  }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message