Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

Commit

Permalink
Merge pull request #287 from khuynh12/master
Browse files Browse the repository at this point in the history
Updated plugin to make all calls asynch, should now work perfectly on
  • Loading branch information
timwindsor committed Apr 14, 2014
2 parents d64609c + 0c75509 commit c825e80
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions BB10-Cordova/LowLatencyAudio/www/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ var service = "com.blackberry.community.LowLatencyAudio",

module.exports = {
preloadAudio: function (data, path, voices, success, fail) {
exec(success, fail, service, "preloadAudio", { data: data, path: path, voices: voices });
exec(success, fail, service, "preloadAudio", { data: data, path: path, voices: voices }, false);
},
unload: function (data, success, fail) {
exec(success, fail, service, "unload", { data: data });
exec(success, fail, service, "unload", { data: data }, false);
},
play: function (data, success, fail) {
exec(success, fail, service, "play", { data: data });
exec(success, fail, service, "play", { data: data }, false);
},
stop: function (data, success, fail) {
exec(success, fail, service, "stop", { data: data });
exec(success, fail, service, "stop", { data: data }, false);
},
getDuration: function (data, success, fail) {
exec(success, fail, service, "getDuration", { data: data });
exec(success, fail, service, "getDuration", { data: data }, false);
},
loop: function (data, success, fail) {
exec(success, fail, service, "loop", { data: data });
exec(success, fail, service, "loop", { data: data }, false);
}

};

0 comments on commit c825e80

Please sign in to comment.