patch-2.2.0-pre2 linux/drivers/sound/dmasound.c
Next file: linux/fs/Config.in
Previous file: linux/drivers/scsi/wd7000.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Wed Dec 30 10:55:07 1998
- Orig file:
v2.2.0-pre1/linux/drivers/sound/dmasound.c
- Orig date:
Tue Dec 22 14:16:56 1998
diff -u --recursive --new-file v2.2.0-pre1/linux/drivers/sound/dmasound.c linux/drivers/sound/dmasound.c
@@ -2084,8 +2084,7 @@
int utotal, ftotal;
frameLeft >>= 2;
- if (stereo)
- userCount >>= 1;
+ userCount >>= (stereo? 2: 1);
ftotal = frameLeft;
utotal = userCount;
while (frameLeft) {
@@ -2130,8 +2129,7 @@
int utotal, ftotal;
frameLeft >>= 2;
- if (stereo)
- userCount >>= 1;
+ userCount >>= (stereo? 2: 1);
ftotal = frameLeft;
utotal = userCount;
while (frameLeft) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov