summaryrefslogtreecommitdiff
path: root/sys/dev/pci/azalia_codec.c
diff options
context:
space:
mode:
authorDeanna Phillips <deanna@cvs.openbsd.org>2007-07-23 03:21:58 +0000
committerDeanna Phillips <deanna@cvs.openbsd.org>2007-07-23 03:21:58 +0000
commite15c96a6019bd8e844c6362be7e7e415617ac750 (patch)
treef18b0596eb905bcea9bf7f0e5b6413d37a7788f7 /sys/dev/pci/azalia_codec.c
parent2173b983c4e1e81f731aa825a4e2c2676ddb9fef (diff)
STAC7661: rename "inputs.mic" to "record.volume". This is what the
audio layer wants, and is a more accurate description. Use the correct number of steps.
Diffstat (limited to 'sys/dev/pci/azalia_codec.c')
-rw-r--r--sys/dev/pci/azalia_codec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/azalia_codec.c b/sys/dev/pci/azalia_codec.c
index eead44f9a23..2332c09082a 100644
--- a/sys/dev/pci/azalia_codec.c
+++ b/sys/dev/pci/azalia_codec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: azalia_codec.c,v 1.24 2007/07/23 03:03:58 deanna Exp $ */
+/* $OpenBSD: azalia_codec.c,v 1.25 2007/07/23 03:21:57 deanna Exp $ */
/* $NetBSD: azalia_codec.c,v 1.8 2006/05/10 11:17:27 kent Exp $ */
/*-
@@ -2579,10 +2579,10 @@ static const mixer_item_t stac7661_mixer_items[] = {
#define STAC7661_DAC_SPEAKER 0x05
#define STAC7661_TARGET_MASTER -1
- {{0, {AudioNmicrophone".mute"}, AUDIO_MIXER_ENUM, AZ_CLASS_INPUT, 0, 0,
+ {{0, {AudioNvolume"."AudioNmute}, AUDIO_MIXER_ENUM, AZ_CLASS_RECORD, 0, 0,
ENUM_OFFON}, 0x09, MI_TARGET_INAMP(0)},
- {{0, {AudioNmicrophone}, AUDIO_MIXER_VALUE, AZ_CLASS_INPUT, 0, 0,
- .un.v={{""}, 2, MIXER_DELTA(35)}}, 0x09, MI_TARGET_INAMP(0)},
+ {{0, {AudioNvolume}, AUDIO_MIXER_VALUE, AZ_CLASS_RECORD, 0, 0,
+ .un.v={{""}, 2, MIXER_DELTA(15)}}, 0x09, MI_TARGET_INAMP(0)},
{{0, {AudioNmaster}, AUDIO_MIXER_VALUE, AZ_CLASS_OUTPUT,
0, 0, .un.v={{""}, 2, MIXER_DELTA(127)}}, 0x02, STAC7661_TARGET_MASTER},
{{0, {AudioNmaster"."AudioNmute}, AUDIO_MIXER_ENUM, AZ_CLASS_OUTPUT,