patch-2.2.0-pre1 linux/drivers/sound/softoss_rs.c

Next file: linux/drivers/sound/sonicvibes.c
Previous file: linux/drivers/sound/sb_mixer.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.132/linux/drivers/sound/softoss_rs.c linux/drivers/sound/softoss_rs.c
@@ -49,7 +49,7 @@
 #endif
 				/* Interpolation (resolution of 512 steps) */
 				{
-					int fract = v->ptr & 0x1f;	/* 9 bits */
+					int fract = v->ptr & 0x1ff;	/* 9 bits */
 
 					/* This method works with less arithmetic operations */
 					register int v1 = v->wave[ix];

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov