kripken/emscripten — pull request #2876 by warrenseine (2014-10-09 09:36:32+00:00)
Title: Implement Mix_SetPanning in SDL library bindings.

Using WebAudio, we can simulate Mix_SetPanning (SDL audio API).

Tested in Chrome and Firefox. Note that it doesn't work when loading the file (instead of embedding it). Looking at the SDL implementation, there seems to be a difference when playing audio, and WebAudio is unavailable in that case. Please review and correct me if I'm wrong.