> On Sun, 31 Oct 1999, Donn Miller wrote:
>
> > I believe the ESS drivers weren't committed to 4.0-current yet. When I
> > grep ' ESS ' in /sys/i386/isa/sound, the only thing I can come up with is
> > the ESS support that was in the old voxware sound code. Sanpei, who is
> > developing the ESS sound drivers, says they were committed to the newpcm
> > drivers. I believe they were not added yet.
> >
> > >From http://home.jp.freebsd.org/~sanpei/:
> >
> > tarball for 4-current --> our ESS(ISA) code was commited to newpcm driver
> > in 4.0-current(1999/09/04)
>
> The sound drivers for -current are in sys/dev/pcm.
I have made a change to the ESS code in the pcm/isa/sb.c to allow
my ESS1869 card to change the volume in both channels ... I'm running
current of a few days ago.
Previously the right hand channel stayed at one volume no matter what
the mixer tells it.
I have previously sent and email with the changes, but I'm happy to do it
again :) ... It works for my card, but I don't know if it breaks
anything else.
Reinier
-------- snip ------ snip ------- snip ------
jarrow# cvs diff -c sb.c
Index: sb.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/pcm/isa/sb.c,v
retrieving revision 1.29
diff -c -r1.29 sb.c
*** sb.c 1999/10/16 15:57:33 1.29
--- sb.c 1999/11/01 10:05:41
***************
*** 1191,1197 ****
val = sb_getmixer(sb, regoffs);
change_bits(iomap, &val, dev, LEFT_CHN, left);
sb_setmixer(sb, regoffs, val);
! if ((*iomap)[dev][RIGHT_CHN].regno != regoffs) { /* Change register */
regoffs = (*iomap)[dev][RIGHT_CHN].regno;
if (regoffs != 0) {
val = sb_getmixer(sb, regoffs); /* Read the new one */
--- 1191,1197 ----
val = sb_getmixer(sb, regoffs);
change_bits(iomap, &val, dev, LEFT_CHN, left);
sb_setmixer(sb, regoffs, val);
! if (((*iomap)[dev][RIGHT_CHN].regno != regoffs) || (sb->bd_flags & BD_F_ESS))
{ /* Change register */
regoffs = (*iomap)[dev][RIGHT_CHN].regno;
if (regoffs != 0) {
val = sb_getmixer(sb, regoffs); /* Read the new one */
>
> --
> Doug Rabson Mail: [EMAIL PROTECTED]
> Nonlinear Systems Ltd. Phone: +44 181 442 9037
>
>
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message