162306a36Sopenharmony_ci======================================
262306a36Sopenharmony_ciHD-Audio Codec-Specific Mixer Controls
362306a36Sopenharmony_ci======================================
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciThis file explains the codec-specific mixer controls.
762306a36Sopenharmony_ci
862306a36Sopenharmony_ciRealtek codecs
962306a36Sopenharmony_ci--------------
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciChannel Mode
1262306a36Sopenharmony_ci  This is an enum control to change the surround-channel setup,
1362306a36Sopenharmony_ci  appears only when the surround channels are available.
1462306a36Sopenharmony_ci  It gives the number of channels to be used, "2ch", "4ch", "6ch",
1562306a36Sopenharmony_ci  and "8ch".  According to the configuration, this also controls the
1662306a36Sopenharmony_ci  jack-retasking of multi-I/O jacks.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciAuto-Mute Mode
1962306a36Sopenharmony_ci  This is an enum control to change the auto-mute behavior of the
2062306a36Sopenharmony_ci  headphone and line-out jacks.  If built-in speakers and headphone
2162306a36Sopenharmony_ci  and/or line-out jacks are available on a machine, this controls
2262306a36Sopenharmony_ci  appears.
2362306a36Sopenharmony_ci  When there are only either headphones or line-out jacks, it gives
2462306a36Sopenharmony_ci  "Disabled" and "Enabled" state.  When enabled, the speaker is muted
2562306a36Sopenharmony_ci  automatically when a jack is plugged.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ci  When both headphone and line-out jacks are present, it gives
2862306a36Sopenharmony_ci  "Disabled", "Speaker Only" and "Line-Out+Speaker".  When
2962306a36Sopenharmony_ci  speaker-only is chosen, plugging into a headphone or a line-out jack
3062306a36Sopenharmony_ci  mutes the speakers, but not line-outs.  When line-out+speaker is
3162306a36Sopenharmony_ci  selected, plugging to a headphone jack mutes both speakers and
3262306a36Sopenharmony_ci  line-outs.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ciIDT/Sigmatel codecs
3662306a36Sopenharmony_ci-------------------
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ciAnalog Loopback
3962306a36Sopenharmony_ci  This control enables/disables the analog-loopback circuit.  This
4062306a36Sopenharmony_ci  appears only when "loopback" is set to true in a codec hint
4162306a36Sopenharmony_ci  (see HD-Audio.txt).  Note that on some codecs the analog-loopback
4262306a36Sopenharmony_ci  and the normal PCM playback are exclusive, i.e. when this is on, you
4362306a36Sopenharmony_ci  won't hear any PCM stream.
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ciSwap Center/LFE
4662306a36Sopenharmony_ci  Swaps the center and LFE channel order.  Normally, the left
4762306a36Sopenharmony_ci  corresponds to the center and the right to the LFE.  When this is
4862306a36Sopenharmony_ci  ON, the left to the LFE and the right to the center.
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ciHeadphone as Line Out
5162306a36Sopenharmony_ci  When this control is ON, treat the headphone jacks as line-out
5262306a36Sopenharmony_ci  jacks.  That is, the headphone won't auto-mute the other line-outs,
5362306a36Sopenharmony_ci  and no HP-amp is set to the pins.
5462306a36Sopenharmony_ci
5562306a36Sopenharmony_ciMic Jack Mode, Line Jack Mode, etc
5662306a36Sopenharmony_ci  These enum controls the direction and the bias of the input jack
5762306a36Sopenharmony_ci  pins.  Depending on the jack type, it can set as "Mic In" and "Line 
5862306a36Sopenharmony_ci  In", for determining the input bias, or it can be set to "Line Out"
5962306a36Sopenharmony_ci  when the pin is a multi-I/O jack for surround channels.
6062306a36Sopenharmony_ci
6162306a36Sopenharmony_ci
6262306a36Sopenharmony_ciVIA codecs
6362306a36Sopenharmony_ci----------
6462306a36Sopenharmony_ci
6562306a36Sopenharmony_ciSmart 5.1
6662306a36Sopenharmony_ci  An enum control to re-task the multi-I/O jacks for surround outputs.
6762306a36Sopenharmony_ci  When it's ON, the corresponding input jacks (usually a line-in and a
6862306a36Sopenharmony_ci  mic-in) are switched as the surround and the CLFE output jacks.
6962306a36Sopenharmony_ci
7062306a36Sopenharmony_ciIndependent HP
7162306a36Sopenharmony_ci  When this enum control is enabled, the headphone output is routed
7262306a36Sopenharmony_ci  from an individual stream (the third PCM such as hw:0,2) instead of
7362306a36Sopenharmony_ci  the primary stream.  In the case the headphone DAC is shared with a
7462306a36Sopenharmony_ci  side or a CLFE-channel DAC, the DAC is switched to the headphone
7562306a36Sopenharmony_ci  automatically.
7662306a36Sopenharmony_ci
7762306a36Sopenharmony_ciLoopback Mixing
7862306a36Sopenharmony_ci  An enum control to determine whether the analog-loopback route is
7962306a36Sopenharmony_ci  enabled or not.  When it's enabled, the analog-loopback is mixed to
8062306a36Sopenharmony_ci  the front-channel.  Also, the same route is used for the headphone
8162306a36Sopenharmony_ci  and speaker outputs.  As a side-effect, when this mode is set, the
8262306a36Sopenharmony_ci  individual volume controls will be no longer available for
8362306a36Sopenharmony_ci  headphones and speakers because there is only one DAC connected to a
8462306a36Sopenharmony_ci  mixer widget.
8562306a36Sopenharmony_ci
8662306a36Sopenharmony_ciDynamic Power-Control
8762306a36Sopenharmony_ci  This control determines whether the dynamic power-control per jack
8862306a36Sopenharmony_ci  detection is enabled or not.  When enabled, the widgets power state
8962306a36Sopenharmony_ci  (D0/D3) are changed dynamically depending on the jack plugging
9062306a36Sopenharmony_ci  state for saving power consumptions.  However, if your system
9162306a36Sopenharmony_ci  doesn't provide a proper jack-detection, this won't work; in such a
9262306a36Sopenharmony_ci  case, turn this control OFF.
9362306a36Sopenharmony_ci
9462306a36Sopenharmony_ciJack Detect
9562306a36Sopenharmony_ci  This control is provided only for VT1708 codec which gives no proper
9662306a36Sopenharmony_ci  unsolicited event per jack plug.  When this is on, the driver polls
9762306a36Sopenharmony_ci  the jack detection so that the headphone auto-mute can work, while 
9862306a36Sopenharmony_ci  turning this off would reduce the power consumption.
9962306a36Sopenharmony_ci
10062306a36Sopenharmony_ci
10162306a36Sopenharmony_ciConexant codecs
10262306a36Sopenharmony_ci---------------
10362306a36Sopenharmony_ci
10462306a36Sopenharmony_ciAuto-Mute Mode
10562306a36Sopenharmony_ci  See Realtek codecs.
10662306a36Sopenharmony_ci
10762306a36Sopenharmony_ci
10862306a36Sopenharmony_ciAnalog codecs
10962306a36Sopenharmony_ci--------------
11062306a36Sopenharmony_ci
11162306a36Sopenharmony_ciChannel Mode
11262306a36Sopenharmony_ci  This is an enum control to change the surround-channel setup,
11362306a36Sopenharmony_ci  appears only when the surround channels are available.
11462306a36Sopenharmony_ci  It gives the number of channels to be used, "2ch", "4ch" and "6ch".
11562306a36Sopenharmony_ci  According to the configuration, this also controls the
11662306a36Sopenharmony_ci  jack-retasking of multi-I/O jacks.
11762306a36Sopenharmony_ci
11862306a36Sopenharmony_ciIndependent HP
11962306a36Sopenharmony_ci  When this enum control is enabled, the headphone output is routed
12062306a36Sopenharmony_ci  from an individual stream (the third PCM such as hw:0,2) instead of
12162306a36Sopenharmony_ci  the primary stream.
122