[PATCH] bug in linux-2.5.59/sound/oss/maestro.c

Ph. Marek (philipp.marek@bmlv.gv.at)
Fri, 24 Jan 2003 11:23:56 +0100


diff -u linux-2.5.59.orig/sound/oss/maestro.c linux-2.5.59/sound/oss/maestro.c
--- linux-2.5.59.orig/sound/oss/maestro.c Fri Jan 17 03:22:41 2003
+++ linux-2.5.59/sound/oss/maestro.c Fri Jan 24 11:22:20 2003
@@ -668,6 +668,7 @@
if (mixer == SOUND_MIXER_IGAIN) {
right = (right * 100) / mh->scale;
left = (left * 100) / mh->scale;
+ }
else {
right = 100 - ((right * 100) / mh->scale);
left = 100 - ((left * 100) / mh->scale);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/