make sure we're unmuted during setup, but don't unmute during reset

This commit is contained in:
Daniel Brooks 2016-08-07 18:31:48 -07:00
commit 7b71a91721

View file

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