hi Max,<br><br><div class="gmail_quote">On Thu, Nov 12, 2009 at 2:24 AM, Max Horn <span dir="ltr"><<a href="mailto:max@quendi.de">max@quendi.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Looking at gui/options.cpp, I'd say you need<br>
  ConfMan.getBool("mute") ?<br></blockquote><div><br></div><div>it works, thank you.  I had a mistake in my own and I thought that the flag wasn't passed properly.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

And then there is Engine::syncSoundSettings() in engines/engine.cpp which sets all volumes to 0 (or back to their "real" values) based on the current "mute" setting. You may want to use that.<br></blockquote>

<div><br></div><div>I do implement syncSoundSettings(), but I don't think the volumes passed to me are 0 if "mute" in on.  if they were, then muting would have worked without me doing anything.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br></blockquote></div>-- <br>Robert Špalek <<a href="mailto:rspalek@gmail.com">rspalek@gmail.com</a>><br>