diff options
author | orion <orion@FreeBSD.org> | 2002-08-23 06:19:28 +0000 |
---|---|---|
committer | orion <orion@FreeBSD.org> | 2002-08-23 06:19:28 +0000 |
commit | 00febb565fe89c9f65a3565d5638b1e8995ad225 (patch) | |
tree | bf90e0a0c7c4caf31ede99d8e474f934c1212a67 /sys/dev/sound/pcm/ac97.h | |
parent | ce369afc71580c329f919c0060d5b1788349976e (diff) | |
download | FreeBSD-src-00febb565fe89c9f65a3565d5638b1e8995ad225.zip FreeBSD-src-00febb565fe89c9f65a3565d5638b1e8995ad225.tar.gz |
s/AC97_MIX_PHONES/AC97_MIX_AUXOUT/ to match ac97r2.{2,3}.
Attempt to determine what function of AUX_OUT is: "True line level
out", "Headphone out", or "4-Channel out" and frig OSS mixer label
accordingly.
Addresses problem raised by Randy Bush on -multimedia of not being
able to hear audio on ich2 m/b which was eventually found to be
because the mixer monitor value was 0. On this h/w the label
"monitor" should now be presented as the marginally more intuitive
"ogain".
Diffstat (limited to 'sys/dev/sound/pcm/ac97.h')
-rw-r--r-- | sys/dev/sound/pcm/ac97.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/ac97.h b/sys/dev/sound/pcm/ac97.h index 67dbc3f..9c18121 100644 --- a/sys/dev/sound/pcm/ac97.h +++ b/sys/dev/sound/pcm/ac97.h @@ -39,7 +39,7 @@ #define AC97_CAP_ADC_18 (1 << 8) #define AC97_CAP_ADC_20 (1 << 9) #define AC97_MIX_MASTER 0x02 -#define AC97_MIX_PHONES 0x04 +#define AC97_MIX_AUXOUT 0x04 #define AC97_MIX_MONO 0x06 #define AC97_MIX_TONE 0x08 #define AC97_MIX_BEEP 0x0a @@ -67,6 +67,8 @@ #define AC97_EXTCAP_DRA (1 << 1) #define AC97_EXTCAP_VRM (1 << 3) #define AC97_EXTCAPS (AC97_EXTCAP_VRA | AC97_EXTCAP_DRA | AC97_EXTCAP_VRM) +#define AC97_EXTCAP_SDAC (1 << 7) + #define AC97_REGEXT_STAT 0x2a #define AC97_REGEXT_FDACRATE 0x2c #define AC97_REGEXT_SDACRATE 0x2e |