blob: f2ebc4f79b44d415e0eab0c91f68b3bf421f5c1d [file] [log] [blame]
Takashi Iwaife0abd12016-11-09 16:56:01 +01001======================================
2HD-Audio Codec-Specific Mixer Controls
3======================================
4
5
Takashi Iwai737c2652011-07-19 09:34:10 +02006This file explains the codec-specific mixer controls.
7
8Realtek codecs
9--------------
10
Takashi Iwaife0abd12016-11-09 16:56:01 +010011Channel Mode
Takashi Iwai737c2652011-07-19 09:34:10 +020012 This is an enum control to change the surround-channel setup,
13 appears only when the surround channels are available.
14 It gives the number of channels to be used, "2ch", "4ch", "6ch",
15 and "8ch". According to the configuration, this also controls the
16 jack-retasking of multi-I/O jacks.
17
Takashi Iwaife0abd12016-11-09 16:56:01 +010018Auto-Mute Mode
Takashi Iwai737c2652011-07-19 09:34:10 +020019 This is an enum control to change the auto-mute behavior of the
20 headphone and line-out jacks. If built-in speakers and headphone
21 and/or line-out jacks are available on a machine, this controls
22 appears.
23 When there are only either headphones or line-out jacks, it gives
24 "Disabled" and "Enabled" state. When enabled, the speaker is muted
25 automatically when a jack is plugged.
26
27 When both headphone and line-out jacks are present, it gives
28 "Disabled", "Speaker Only" and "Line-Out+Speaker". When
29 speaker-only is chosen, plugging into a headphone or a line-out jack
30 mutes the speakers, but not line-outs. When line-out+speaker is
31 selected, plugging to a headphone jack mutes both speakers and
32 line-outs.
33
34
35IDT/Sigmatel codecs
36-------------------
37
Takashi Iwaife0abd12016-11-09 16:56:01 +010038Analog Loopback
Takashi Iwai737c2652011-07-19 09:34:10 +020039 This control enables/disables the analog-loopback circuit. This
40 appears only when "loopback" is set to true in a codec hint
41 (see HD-Audio.txt). Note that on some codecs the analog-loopback
42 and the normal PCM playback are exclusive, i.e. when this is on, you
43 won't hear any PCM stream.
44
Takashi Iwaife0abd12016-11-09 16:56:01 +010045Swap Center/LFE
Takashi Iwai737c2652011-07-19 09:34:10 +020046 Swaps the center and LFE channel order. Normally, the left
47 corresponds to the center and the right to the LFE. When this is
48 ON, the left to the LFE and the right to the center.
49
Takashi Iwaife0abd12016-11-09 16:56:01 +010050Headphone as Line Out
Takashi Iwai737c2652011-07-19 09:34:10 +020051 When this control is ON, treat the headphone jacks as line-out
52 jacks. That is, the headphone won't auto-mute the other line-outs,
53 and no HP-amp is set to the pins.
54
Takashi Iwaife0abd12016-11-09 16:56:01 +010055Mic Jack Mode, Line Jack Mode, etc
Takashi Iwai737c2652011-07-19 09:34:10 +020056 These enum controls the direction and the bias of the input jack
57 pins. Depending on the jack type, it can set as "Mic In" and "Line
58 In", for determining the input bias, or it can be set to "Line Out"
59 when the pin is a multi-I/O jack for surround channels.
60
61
62VIA codecs
63----------
64
Takashi Iwaife0abd12016-11-09 16:56:01 +010065Smart 5.1
Takashi Iwai737c2652011-07-19 09:34:10 +020066 An enum control to re-task the multi-I/O jacks for surround outputs.
67 When it's ON, the corresponding input jacks (usually a line-in and a
68 mic-in) are switched as the surround and the CLFE output jacks.
69
Takashi Iwaife0abd12016-11-09 16:56:01 +010070Independent HP
Takashi Iwai737c2652011-07-19 09:34:10 +020071 When this enum control is enabled, the headphone output is routed
72 from an individual stream (the third PCM such as hw:0,2) instead of
73 the primary stream. In the case the headphone DAC is shared with a
74 side or a CLFE-channel DAC, the DAC is switched to the headphone
75 automatically.
76
Takashi Iwaife0abd12016-11-09 16:56:01 +010077Loopback Mixing
Takashi Iwai737c2652011-07-19 09:34:10 +020078 An enum control to determine whether the analog-loopback route is
79 enabled or not. When it's enabled, the analog-loopback is mixed to
80 the front-channel. Also, the same route is used for the headphone
81 and speaker outputs. As a side-effect, when this mode is set, the
82 individual volume controls will be no longer available for
83 headphones and speakers because there is only one DAC connected to a
84 mixer widget.
85
Takashi Iwaife0abd12016-11-09 16:56:01 +010086Dynamic Power-Control
Takashi Iwai737c2652011-07-19 09:34:10 +020087 This control determines whether the dynamic power-control per jack
88 detection is enabled or not. When enabled, the widgets power state
89 (D0/D3) are changed dynamically depending on the jack plugging
90 state for saving power consumptions. However, if your system
91 doesn't provide a proper jack-detection, this won't work; in such a
92 case, turn this control OFF.
93
Takashi Iwaife0abd12016-11-09 16:56:01 +010094Jack Detect
Takashi Iwai737c2652011-07-19 09:34:10 +020095 This control is provided only for VT1708 codec which gives no proper
96 unsolicited event per jack plug. When this is on, the driver polls
97 the jack detection so that the headphone auto-mute can work, while
98 turning this off would reduce the power consumption.
99
100
101Conexant codecs
102---------------
103
Takashi Iwaife0abd12016-11-09 16:56:01 +0100104Auto-Mute Mode
Takashi Iwai737c2652011-07-19 09:34:10 +0200105 See Reatek codecs.
Raymond Yauce662bb2011-10-04 09:46:44 +0800106
107
108Analog codecs
109--------------
110
Takashi Iwaife0abd12016-11-09 16:56:01 +0100111Channel Mode
Raymond Yauce662bb2011-10-04 09:46:44 +0800112 This is an enum control to change the surround-channel setup,
113 appears only when the surround channels are available.
114 It gives the number of channels to be used, "2ch", "4ch" and "6ch".
115 According to the configuration, this also controls the
116 jack-retasking of multi-I/O jacks.
117
Takashi Iwaife0abd12016-11-09 16:56:01 +0100118Independent HP
Raymond Yauce662bb2011-10-04 09:46:44 +0800119 When this enum control is enabled, the headphone output is routed
120 from an individual stream (the third PCM such as hw:0,2) instead of
121 the primary stream.