Subject: port-i386/2591: src/sys/dev/isa/sbdsp.c
To: None <gnats-bugs@NetBSD.ORG>
From: None <rvb@cs.cmu.edu>
List: netbsd-bugs
Date: 07/01/1996 15:20:40
>Number: 2591
>Category: port-i386
>Synopsis: mixer gain reported incorrectly
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 1 15:50:02 1996
>Last-Modified:
>Originator: Robert V. Baron
>Organization:
>Release: 1.1
>Environment:
System: NetBSD strauss.coda.cs.cmu.edu 1.1 NetBSD 1.1 (CCODA) #14: Wed Jun 19 14:56:34 EDT 1996 bnoble@telemann.coda.cs.cmu.edu:/usr1/bnoble/kernel_tree/src/sys/arch/i386/compile/CCODA i386
>Description:
In sbdsb_attach(), the speaker volume is inited to max/2 but gain array
(the software copy) sets port to max volume.
>How-To-Repeat:
>Fix:
add
sc->gain[SBP_MASTER_VOL] =
sbdsp_stereo_vol(SBP_MAXVOL, SBP_MAXVOL));
after
sc->in_filter = 0; /* no filters turned on, please */
>Audit-Trail:
>Unformatted: