Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci/hdaudio Don't name the beeper inputs.speaker, or...



details:   https://anonhg.NetBSD.org/src/rev/7d7ea0a8a23a
branches:  trunk
changeset: 747250:7d7ea0a8a23a
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon Sep 07 11:49:27 2009 +0000

description:
Don't name the beeper inputs.speaker, or MI audio might get confused.
Name it inputs.beep instead so play.gain doesn't get mapped to it.

diffstat:

 sys/dev/pci/hdaudio/hdaudio_mixer.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b586a8549cc3 -r 7d7ea0a8a23a sys/dev/pci/hdaudio/hdaudio_mixer.h
--- a/sys/dev/pci/hdaudio/hdaudio_mixer.h       Mon Sep 07 11:23:39 2009 +0000
+++ b/sys/dev/pci/hdaudio/hdaudio_mixer.h       Mon Sep 07 11:49:27 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hdaudio_mixer.h,v 1.2 2009/09/06 17:33:53 sborrill Exp $ */
+/* $NetBSD: hdaudio_mixer.h,v 1.3 2009/09/07 11:49:27 jmcneill Exp $ */
 
 /*
  * Copyright (c) 2009 Precedence Technologies Ltd <support%precedence.co.uk@localhost>
@@ -65,7 +65,7 @@
 
 #define        HDAUDIO_DEVICE_NAMES    {                                          \
        AudioNmaster, AudioNbass, AudioNtreble, AudioNfmsynth, AudioNdac,  \
-       AudioNspeaker, AudioNline, AudioNmicrophone, AudioNcd,             \
+       "beep", AudioNline, AudioNmicrophone, AudioNcd,                    \
        AudioNrecord, AudioNdac"2", "reclvl", AudioNinput, AudioNoutput,   \
        AudioNline"1", AudioNline"2", AudioNline"3",                       \
        "dig1", "dig2", "dig3", "phin", "phout",                           \



Home | Main Index | Thread Index | Old Index