Back to home page

OSCL-LXR

 
 

    


0001 ======================================
0002 HD-Audio Codec-Specific Mixer Controls
0003 ======================================
0004 
0005 
0006 This file explains the codec-specific mixer controls.
0007 
0008 Realtek codecs
0009 --------------
0010 
0011 Channel Mode
0012   This is an enum control to change the surround-channel setup,
0013   appears only when the surround channels are available.
0014   It gives the number of channels to be used, "2ch", "4ch", "6ch",
0015   and "8ch".  According to the configuration, this also controls the
0016   jack-retasking of multi-I/O jacks.
0017 
0018 Auto-Mute Mode
0019   This is an enum control to change the auto-mute behavior of the
0020   headphone and line-out jacks.  If built-in speakers and headphone
0021   and/or line-out jacks are available on a machine, this controls
0022   appears.
0023   When there are only either headphones or line-out jacks, it gives
0024   "Disabled" and "Enabled" state.  When enabled, the speaker is muted
0025   automatically when a jack is plugged.
0026 
0027   When both headphone and line-out jacks are present, it gives
0028   "Disabled", "Speaker Only" and "Line-Out+Speaker".  When
0029   speaker-only is chosen, plugging into a headphone or a line-out jack
0030   mutes the speakers, but not line-outs.  When line-out+speaker is
0031   selected, plugging to a headphone jack mutes both speakers and
0032   line-outs.
0033 
0034 
0035 IDT/Sigmatel codecs
0036 -------------------
0037 
0038 Analog Loopback
0039   This control enables/disables the analog-loopback circuit.  This
0040   appears only when "loopback" is set to true in a codec hint
0041   (see HD-Audio.txt).  Note that on some codecs the analog-loopback
0042   and the normal PCM playback are exclusive, i.e. when this is on, you
0043   won't hear any PCM stream.
0044 
0045 Swap Center/LFE
0046   Swaps the center and LFE channel order.  Normally, the left
0047   corresponds to the center and the right to the LFE.  When this is
0048   ON, the left to the LFE and the right to the center.
0049 
0050 Headphone as Line Out
0051   When this control is ON, treat the headphone jacks as line-out
0052   jacks.  That is, the headphone won't auto-mute the other line-outs,
0053   and no HP-amp is set to the pins.
0054 
0055 Mic Jack Mode, Line Jack Mode, etc
0056   These enum controls the direction and the bias of the input jack
0057   pins.  Depending on the jack type, it can set as "Mic In" and "Line 
0058   In", for determining the input bias, or it can be set to "Line Out"
0059   when the pin is a multi-I/O jack for surround channels.
0060 
0061 
0062 VIA codecs
0063 ----------
0064 
0065 Smart 5.1
0066   An enum control to re-task the multi-I/O jacks for surround outputs.
0067   When it's ON, the corresponding input jacks (usually a line-in and a
0068   mic-in) are switched as the surround and the CLFE output jacks.
0069 
0070 Independent HP
0071   When this enum control is enabled, the headphone output is routed
0072   from an individual stream (the third PCM such as hw:0,2) instead of
0073   the primary stream.  In the case the headphone DAC is shared with a
0074   side or a CLFE-channel DAC, the DAC is switched to the headphone
0075   automatically.
0076 
0077 Loopback Mixing
0078   An enum control to determine whether the analog-loopback route is
0079   enabled or not.  When it's enabled, the analog-loopback is mixed to
0080   the front-channel.  Also, the same route is used for the headphone
0081   and speaker outputs.  As a side-effect, when this mode is set, the
0082   individual volume controls will be no longer available for
0083   headphones and speakers because there is only one DAC connected to a
0084   mixer widget.
0085 
0086 Dynamic Power-Control
0087   This control determines whether the dynamic power-control per jack
0088   detection is enabled or not.  When enabled, the widgets power state
0089   (D0/D3) are changed dynamically depending on the jack plugging
0090   state for saving power consumptions.  However, if your system
0091   doesn't provide a proper jack-detection, this won't work; in such a
0092   case, turn this control OFF.
0093 
0094 Jack Detect
0095   This control is provided only for VT1708 codec which gives no proper
0096   unsolicited event per jack plug.  When this is on, the driver polls
0097   the jack detection so that the headphone auto-mute can work, while 
0098   turning this off would reduce the power consumption.
0099 
0100 
0101 Conexant codecs
0102 ---------------
0103 
0104 Auto-Mute Mode
0105   See Realtek codecs.
0106 
0107 
0108 Analog codecs
0109 --------------
0110 
0111 Channel Mode
0112   This is an enum control to change the surround-channel setup,
0113   appears only when the surround channels are available.
0114   It gives the number of channels to be used, "2ch", "4ch" and "6ch".
0115   According to the configuration, this also controls the
0116   jack-retasking of multi-I/O jacks.
0117 
0118 Independent HP
0119   When this enum control is enabled, the headphone output is routed
0120   from an individual stream (the third PCM such as hw:0,2) instead of
0121   the primary stream.