Merge pull request #11 from db48x/dont-unmute-on-reset

update
This commit is contained in:
Rupert Hausberger 2016-08-08 03:33:47 +02:00 committed by GitHub
commit f67b42e831

View file

@ -368,6 +368,7 @@ function SAEO_Audio() {
} }
function setup_sound() { //init_sound() function setup_sound() { //init_sound()
muted = paused = false;
//SAER.gui.data.sndbuf_status = 3; //SAER.gui.data.sndbuf_status = 3;
//SAER.gui.data.sndbuf = 0; //SAER.gui.data.sndbuf = 0;
if (!have_sound) if (!have_sound)
@ -381,8 +382,6 @@ function SAEO_Audio() {
} }
function reset_sound() { //reset_sound() function reset_sound() { //reset_sound()
muted = paused = false;
cache.readoffset = 0; cache.readoffset = 0;
cache.writeoffset = 0; cache.writeoffset = 0;
cache.wait = true; cache.wait = true;