diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2013-08-30 16:12:20 +0300 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-24 16:56:45 -0700 |
commit | 2df6b614c001fd7c3c6e8fa13c510c903f09841a (patch) | |
tree | e0d56b3255c0d1081a18d2988beb43ed05484767 | |
parent | 87eda4836bfce1a232f96b07d6c6e16dab42e66b (diff) |
Hide logging in Web Audio intended mostly for debugging.
-rw-r--r-- | src/library_sdl.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library_sdl.js b/src/library_sdl.js index 4079d3ef..d6473df0 100644 --- a/src/library_sdl.js +++ b/src/library_sdl.js @@ -1613,9 +1613,9 @@ var LibrarySDL = { // Schedule the generated sample buffer to be played out at the correct time right after the previously scheduled // sample buffer has finished. var curtime = SDL.audioContext['currentTime']; - if (curtime > SDL.audio.nextPlayTime && SDL.audio.nextPlayTime != 0) { - console.log('warning: Audio callback had starved sending audio by ' + (curtime - SDL.audio.nextPlayTime) + ' seconds.'); - } +// if (curtime > SDL.audio.nextPlayTime && SDL.audio.nextPlayTime != 0) { +// console.log('warning: Audio callback had starved sending audio by ' + (curtime - SDL.audio.nextPlayTime) + ' seconds.'); +// } var playtime = Math.max(curtime, SDL.audio.nextPlayTime); SDL.audio.soundSource[SDL.audio.nextSoundSource]['start'](playtime); var buffer_duration = sizeSamplesPerChannel / SDL.audio.freq; |