Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/isa Fix bug uncovered by audio.c fix: Since the moni...



details:   https://anonhg.NetBSD.org/src/rev/19c8aac29e0c
branches:  trunk
changeset: 473344:19c8aac29e0c
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Sun May 30 00:22:59 1999 +0000

description:
Fix bug uncovered by audio.c fix: Since the monitor control on the ESS
is a muting control, not a level control, change the name to reflect that.

XXX The fact that the audio code depends on the string names of the
XXX mixer devices is bogus.

diffstat:

 sys/dev/isa/ess.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ded6628a5717 -r 19c8aac29e0c sys/dev/isa/ess.c
--- a/sys/dev/isa/ess.c Sun May 30 00:21:08 1999 +0000
+++ b/sys/dev/isa/ess.c Sun May 30 00:22:59 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ess.c,v 1.44 1999/03/19 12:40:21 mycroft Exp $ */
+/*     $NetBSD: ess.c,v 1.45 1999/05/30 00:22:59 nathanw Exp $ */
 
 /*
  * Copyright 1997
@@ -2021,7 +2021,7 @@
 
        case ESS_RECORD_MONITOR:
                dip->prev = dip->next = AUDIO_MIXER_LAST;
-               strcpy(dip->label.name, AudioNmonitor);
+               strcpy(dip->label.name, AudioNmute);
                dip->type = AUDIO_MIXER_ENUM;
                dip->mixer_class = ESS_MONITOR_CLASS;
                dip->un.e.num_mem = 2;



Home | Main Index | Thread Index | Old Index