patch-1.3.34 linux/drivers/sound/gus_vol.c
Next file: linux/drivers/sound/gus_wave.c
Previous file: linux/drivers/sound/gus_midi.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Wed Oct 11 07:55:40 1995
- Orig file:
v1.3.33/linux/drivers/sound/gus_vol.c
- Orig date:
Mon Jul 18 09:50:55 1994
diff -u --recursive --new-file v1.3.33/linux/drivers/sound/gus_vol.c linux/drivers/sound/gus_vol.c
@@ -138,10 +138,10 @@
else if (mainvol >= 127)
mainvol = 127;
#else
- mainvol = 128;
+ mainvol = 127;
#endif
- return gus_linearvol[(((vol * mainvol) / 128) * mixer_mainvol) / 100];
+ return gus_linearvol[(((vol * mainvol) / 127) * mixer_mainvol) / 100];
}
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this