int intf_setOutputMute(object[] args)
{
int flags = (int)args[0];
_outputVolumeFlags = (byte)flags;
byte mute = (byte)(flags & 3);
byte f = (byte)(flags & 0xff);
_outputMute.Set(0, 1, 8);
if ((mute & 2) != 0)
_outputMute.Set(12, 1, 4);
if ((mute & 1) != 0)
_outputMute.Set(8, 1, 4);
_outputMute[(f < 0x80) ? 11 : 15] = 0;
f += f;
_outputMute[(f < 0x80) ? 10 : 14] = 0;
f += f;
_outputMute[(f < 0x80) ? 8 : 12] = 0;
f += f;
_outputMute[(f < 0x80) ? 9 : 13] = 0;
f += f;
_outputMute[(f < 0x80) ? 0 : 4] = 0;
f += f;
_outputMute[(f < 0x80) ? 1 : 5] = 0;
f += f;
UpdateOutputVolume();
return 0;
}