Added WebAudioAPI output to mixer code
Made the WebAudioAPI support slightly more efficient by removing some unnecessary channels.

Signed-off-by: ILOVEPIE <thehairyrock@gmail.com>
Rewritten with audioBuffers
Added myself to AUTHORS

Signed-off-by: ILOVEPIE <thehairyrock@gmail.com>
Fixed some stuff I forgot to change.

Signed-off-by: ILOVEPIE <thehairyrock@gmail.com>
Switched to single quotes for consistency.

Signed-off-by: ILOVEPIE <thehairyrock@gmail.com>
Improve SDL_OpenAudio support to work with the newest Web Audio API spec, add better support for different SDL audio formats and sample rates. Add browser test for SDL audio beep sample.
Fix closure issues with Web Audio support in SDL.
Fix reporting of silence parameter in SDL audio api.
Improve the Web Audio callback buffer scheduling logic to stay ahead of buffer underflow by at least more than one sample block.
Fix audio callback overflow problems by avoiding using Browser.safeSetTimeout, and instead calling safeSetInterval to control the timing drift explicitly.
Explicitly disconnect generated audio buffers with Web Audio API to guarantee no resources will be leaked. (not sure if this is necessary, but it uncovered a timing bug, and doesn't hurt to be safe)
Make the time periods between beeps longer to be able to distinguish audio quality better.
Fix AUTHORS to have UTF-8 encoding.
Adjust SDL Web Audio API backend to make it work on Firefox nightly. Note that this path is still disabled for Firefox, since Mozilla Audio Data API gives better sound quality.
Allow compiling the sdl_audio_beep.cpp sample outside the browser test harness.
Document Mozilla Audio Data API is used as a workaround.
Update the sdl audio beep test to new test_browser.py suite after rebase.
Make the tones shorter in duration to have the test harness not timeout (60 seconds timeout duration) before all the beeps are finished.
Fix bug where resuming SDL audio multiple times could cause multiple audio event loops to be accumulated. Add a mechanism for avoiding buffer starving a bit better with Web Audio.
Hide logging in Web Audio intended mostly for debugging.