summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-11-20 12:23:00 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-11-20 12:23:00 +0000
commitf4fd37459c3fc1afbd5b416ad690d69c90b93b98 (patch)
tree890a85d7544c0fbf0c3aee3390cbae069af27b74 /sys
parentbd3db72d69fc730f137b1efd9cfdc6a79458bce9 (diff)
use more reasonable default level values; ho@ testing
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/emuxki.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/emuxki.c b/sys/dev/pci/emuxki.c
index 5b1b025c176..2675e85b30c 100644
--- a/sys/dev/pci/emuxki.c
+++ b/sys/dev/pci/emuxki.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: emuxki.c,v 1.4 2001/10/31 11:00:24 art Exp $ */
+/* $OpenBSD: emuxki.c,v 1.5 2001/11/20 12:22:59 mickey Exp $ */
/* $NetBSD: emuxki.c,v 1.1 2001/10/17 18:39:41 jdolecek Exp $ */
/*-
@@ -922,7 +922,7 @@ void
emuxki_chanparms_set_defaults(struct emuxki_channel *chan)
{
chan->fxsend.a.level = chan->fxsend.b.level =
- chan->fxsend.c.level = chan->fxsend.d.level = 0xff; /* max */
+ chan->fxsend.c.level = chan->fxsend.d.level = 0xc0; /* not max */
chan->fxsend.a.dest = 0x0;
chan->fxsend.b.dest = 0x1;
chan->fxsend.c.dest = 0x2;
@@ -1342,12 +1342,12 @@ emuxki_voice_set_stereo(struct emuxki_voice *voice, u_int8_t stereo)
fxsend.c.dest = 0x2;
fxsend.d.dest = 0x3;
if (voice->stereo) {
- fxsend.a.level = fxsend.c.level = 0xff;
+ fxsend.a.level = fxsend.c.level = 0xc0;
fxsend.b.level = fxsend.d.level = 0x00;
emuxki_channel_set_fxsend(voice->dataloc.chan[0],
&fxsend);
fxsend.a.level = fxsend.c.level = 0x00;
- fxsend.b.level = fxsend.d.level = 0xff;
+ fxsend.b.level = fxsend.d.level = 0xc0;
emuxki_channel_set_fxsend(voice->dataloc.chan[1],
&fxsend);
} /* No else : default is good for mono */