kern/146758: [sound] [patch] fix volume control in spicds

Stefan Ehmann shoesoft at gmx.net
Thu May 20 14:40:07 UTC 2010


>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 at 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:


More information about the freebsd-bugs mailing list