aboutsummaryrefslogtreecommitdiff
path: root/src/library_sdl.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-12-14 18:25:13 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-12-14 18:25:13 -0800
commit648221ee6f2a33c5df9e39c83bf27545b8d59874 (patch)
tree4853fd6a57e91772d289af66e3b7902dff54a478 /src/library_sdl.js
parent7631f9433050109507126dac76870b7189fb5228 (diff)
add some browser/sdl function signatures
Diffstat (limited to 'src/library_sdl.js')
-rw-r--r--src/library_sdl.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library_sdl.js b/src/library_sdl.js
index 6f1ed32b..cd27648a 100644
--- a/src/library_sdl.js
+++ b/src/library_sdl.js
@@ -1278,7 +1278,7 @@ var LibrarySDL = {
channelInfo.audio = audio = audio.cloneNode(true);
if (SDL.channelFinished) {
audio['onended'] = function() { // TODO: cache these
- Runtime.getFuncWrapper(SDL.channelFinished)(channel);
+ Runtime.getFuncWrapper(SDL.channelFinished, 'vi')(channel);
}
}
// Either play the element, or load the dynamic data into it
@@ -1349,7 +1349,7 @@ var LibrarySDL = {
info.audio = null;
}
if (SDL.channelFinished) {
- Runtime.getFuncWrapper(SDL.channelFinished)(channel);
+ Runtime.getFuncWrapper(SDL.channelFinished, 'vi')(channel);
}
return 0;
},