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.
This commit is contained in:
nathanw 1999-05-30 00:22:59 +00:00
parent 9e14ee3c6e
commit 70e38aa504

View File

@ -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 @@ ess_query_devinfo(addr, dip)
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;