18c2ecf20Sopenharmony_ci====================================== 28c2ecf20Sopenharmony_ciHD-Audio Codec-Specific Mixer Controls 38c2ecf20Sopenharmony_ci====================================== 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciThis file explains the codec-specific mixer controls. 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciRealtek codecs 98c2ecf20Sopenharmony_ci-------------- 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ciChannel Mode 128c2ecf20Sopenharmony_ci This is an enum control to change the surround-channel setup, 138c2ecf20Sopenharmony_ci appears only when the surround channels are available. 148c2ecf20Sopenharmony_ci It gives the number of channels to be used, "2ch", "4ch", "6ch", 158c2ecf20Sopenharmony_ci and "8ch". According to the configuration, this also controls the 168c2ecf20Sopenharmony_ci jack-retasking of multi-I/O jacks. 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ciAuto-Mute Mode 198c2ecf20Sopenharmony_ci This is an enum control to change the auto-mute behavior of the 208c2ecf20Sopenharmony_ci headphone and line-out jacks. If built-in speakers and headphone 218c2ecf20Sopenharmony_ci and/or line-out jacks are available on a machine, this controls 228c2ecf20Sopenharmony_ci appears. 238c2ecf20Sopenharmony_ci When there are only either headphones or line-out jacks, it gives 248c2ecf20Sopenharmony_ci "Disabled" and "Enabled" state. When enabled, the speaker is muted 258c2ecf20Sopenharmony_ci automatically when a jack is plugged. 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci When both headphone and line-out jacks are present, it gives 288c2ecf20Sopenharmony_ci "Disabled", "Speaker Only" and "Line-Out+Speaker". When 298c2ecf20Sopenharmony_ci speaker-only is chosen, plugging into a headphone or a line-out jack 308c2ecf20Sopenharmony_ci mutes the speakers, but not line-outs. When line-out+speaker is 318c2ecf20Sopenharmony_ci selected, plugging to a headphone jack mutes both speakers and 328c2ecf20Sopenharmony_ci line-outs. 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ciIDT/Sigmatel codecs 368c2ecf20Sopenharmony_ci------------------- 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_ciAnalog Loopback 398c2ecf20Sopenharmony_ci This control enables/disables the analog-loopback circuit. This 408c2ecf20Sopenharmony_ci appears only when "loopback" is set to true in a codec hint 418c2ecf20Sopenharmony_ci (see HD-Audio.txt). Note that on some codecs the analog-loopback 428c2ecf20Sopenharmony_ci and the normal PCM playback are exclusive, i.e. when this is on, you 438c2ecf20Sopenharmony_ci won't hear any PCM stream. 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ciSwap Center/LFE 468c2ecf20Sopenharmony_ci Swaps the center and LFE channel order. Normally, the left 478c2ecf20Sopenharmony_ci corresponds to the center and the right to the LFE. When this is 488c2ecf20Sopenharmony_ci ON, the left to the LFE and the right to the center. 498c2ecf20Sopenharmony_ci 508c2ecf20Sopenharmony_ciHeadphone as Line Out 518c2ecf20Sopenharmony_ci When this control is ON, treat the headphone jacks as line-out 528c2ecf20Sopenharmony_ci jacks. That is, the headphone won't auto-mute the other line-outs, 538c2ecf20Sopenharmony_ci and no HP-amp is set to the pins. 548c2ecf20Sopenharmony_ci 558c2ecf20Sopenharmony_ciMic Jack Mode, Line Jack Mode, etc 568c2ecf20Sopenharmony_ci These enum controls the direction and the bias of the input jack 578c2ecf20Sopenharmony_ci pins. Depending on the jack type, it can set as "Mic In" and "Line 588c2ecf20Sopenharmony_ci In", for determining the input bias, or it can be set to "Line Out" 598c2ecf20Sopenharmony_ci when the pin is a multi-I/O jack for surround channels. 608c2ecf20Sopenharmony_ci 618c2ecf20Sopenharmony_ci 628c2ecf20Sopenharmony_ciVIA codecs 638c2ecf20Sopenharmony_ci---------- 648c2ecf20Sopenharmony_ci 658c2ecf20Sopenharmony_ciSmart 5.1 668c2ecf20Sopenharmony_ci An enum control to re-task the multi-I/O jacks for surround outputs. 678c2ecf20Sopenharmony_ci When it's ON, the corresponding input jacks (usually a line-in and a 688c2ecf20Sopenharmony_ci mic-in) are switched as the surround and the CLFE output jacks. 698c2ecf20Sopenharmony_ci 708c2ecf20Sopenharmony_ciIndependent HP 718c2ecf20Sopenharmony_ci When this enum control is enabled, the headphone output is routed 728c2ecf20Sopenharmony_ci from an individual stream (the third PCM such as hw:0,2) instead of 738c2ecf20Sopenharmony_ci the primary stream. In the case the headphone DAC is shared with a 748c2ecf20Sopenharmony_ci side or a CLFE-channel DAC, the DAC is switched to the headphone 758c2ecf20Sopenharmony_ci automatically. 768c2ecf20Sopenharmony_ci 778c2ecf20Sopenharmony_ciLoopback Mixing 788c2ecf20Sopenharmony_ci An enum control to determine whether the analog-loopback route is 798c2ecf20Sopenharmony_ci enabled or not. When it's enabled, the analog-loopback is mixed to 808c2ecf20Sopenharmony_ci the front-channel. Also, the same route is used for the headphone 818c2ecf20Sopenharmony_ci and speaker outputs. As a side-effect, when this mode is set, the 828c2ecf20Sopenharmony_ci individual volume controls will be no longer available for 838c2ecf20Sopenharmony_ci headphones and speakers because there is only one DAC connected to a 848c2ecf20Sopenharmony_ci mixer widget. 858c2ecf20Sopenharmony_ci 868c2ecf20Sopenharmony_ciDynamic Power-Control 878c2ecf20Sopenharmony_ci This control determines whether the dynamic power-control per jack 888c2ecf20Sopenharmony_ci detection is enabled or not. When enabled, the widgets power state 898c2ecf20Sopenharmony_ci (D0/D3) are changed dynamically depending on the jack plugging 908c2ecf20Sopenharmony_ci state for saving power consumptions. However, if your system 918c2ecf20Sopenharmony_ci doesn't provide a proper jack-detection, this won't work; in such a 928c2ecf20Sopenharmony_ci case, turn this control OFF. 938c2ecf20Sopenharmony_ci 948c2ecf20Sopenharmony_ciJack Detect 958c2ecf20Sopenharmony_ci This control is provided only for VT1708 codec which gives no proper 968c2ecf20Sopenharmony_ci unsolicited event per jack plug. When this is on, the driver polls 978c2ecf20Sopenharmony_ci the jack detection so that the headphone auto-mute can work, while 988c2ecf20Sopenharmony_ci turning this off would reduce the power consumption. 998c2ecf20Sopenharmony_ci 1008c2ecf20Sopenharmony_ci 1018c2ecf20Sopenharmony_ciConexant codecs 1028c2ecf20Sopenharmony_ci--------------- 1038c2ecf20Sopenharmony_ci 1048c2ecf20Sopenharmony_ciAuto-Mute Mode 1058c2ecf20Sopenharmony_ci See Reatek codecs. 1068c2ecf20Sopenharmony_ci 1078c2ecf20Sopenharmony_ci 1088c2ecf20Sopenharmony_ciAnalog codecs 1098c2ecf20Sopenharmony_ci-------------- 1108c2ecf20Sopenharmony_ci 1118c2ecf20Sopenharmony_ciChannel Mode 1128c2ecf20Sopenharmony_ci This is an enum control to change the surround-channel setup, 1138c2ecf20Sopenharmony_ci appears only when the surround channels are available. 1148c2ecf20Sopenharmony_ci It gives the number of channels to be used, "2ch", "4ch" and "6ch". 1158c2ecf20Sopenharmony_ci According to the configuration, this also controls the 1168c2ecf20Sopenharmony_ci jack-retasking of multi-I/O jacks. 1178c2ecf20Sopenharmony_ci 1188c2ecf20Sopenharmony_ciIndependent HP 1198c2ecf20Sopenharmony_ci When this enum control is enabled, the headphone output is routed 1208c2ecf20Sopenharmony_ci from an individual stream (the third PCM such as hw:0,2) instead of 1218c2ecf20Sopenharmony_ci the primary stream. 122