Date: Thu, 20 May 2010 16:34:18 +0200 From: "Stefan Ehmann" <shoesoft@gmx.net> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: kern/146758: [sound] [patch] fix volume control in spicds Message-ID: <1274366058.50511@walrus.pepperland> Resent-Message-ID: <201005201440.o4KEe6jL009307@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 146758
>Category: kern
>Synopsis: [sound] [patch] fix volume control in spicds
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu May 20 14:40:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Stefan Ehmann
>Release: FreeBSD 8.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD 8.0-RELEASE #0: Thu Nov 26 15:42:25 CET 2009
stefan@walrus.pepperland:/usr/obj/usr/src/sys/WALRUS
>Description:
This patch fixes volume control for AK4381/AK4396.
Already discussed here, but apparently forgotten:
http://lists.freebsd.org/pipermail/freebsd-multimedia/2009-December/010558.html
>How-To-Repeat:
>Fix:
--- spicds-diff begins here ---
--- sys/dev/sound/pci/spicds.c.orig 2010-05-20 10:29:13.000000000 +0200
+++ sys/dev/sound/pci/spicds.c 2010-05-20 10:32:02.000000000 +0200
@@ -283,7 +283,8 @@
case SPICDS_TYPE_WM8770:
left = left + 27;
break;
- case SPICDS_TYPE_AK4381 || SPICDS_TYPE_AK4396:
+ case SPICDS_TYPE_AK4381:
+ case SPICDS_TYPE_AK4396:
left = left * 255 / 100;
break;
default:
--- spicds-diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1274366058.50511>
