1. 04 7月, 2011 4 次提交
  2. 01 7月, 2011 1 次提交
    • L
      ALSA: hda - Fix the silent front with independent-HP for VIA codecs · e5e14681
      Lydia Wang 提交于
      Unmute DAC on front speaker path when Independent HP is enabled.
      
      When to enable Independent HP, the front speaker won't output any sound
      for VT1708, VT1708B, VT1708S and VT1702.
      I find the via_independent_hp_put() routine will mute DAC 0 path in Mixer 0.
      For these codecs, when using Independent HP, there could have two
      independent streams, one is from DAC0-->Mixer0-->Front Pin, the other is
      from DAC3-->GainSW3-->Side Pin.
      So I added a check for DAC-->Mixer path in activate_output_path().
      
      If current path is DAC-->Mixer, no need to mute DAC index in Mixer.
      In fact, to change connection of Headphone pin or Mux connected with HP
      is enough.
      Signed-off-by: NLydia Wang <lydiawang@viatech.com.cn>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      e5e14681
  3. 30 6月, 2011 1 次提交
    • T
      ALSA: hda - Re-implementation of VIA Independent-HP sharing with side stream · 25250505
      Takashi Iwai 提交于
      This patch adds the re-implementation of Independent-HP mode in the
      case where the DAC is shared between HP and side-channel streams.
      Now the driver tries to parse the output-path using the pre-parsed
      side-channel DAC for the independent HP output, too.
      
      When a playback PCM stream is opened with this shared mode, the
      Independent-HP mixer switch can't be changed for avoiding the conflict,
      thus it returns -EBUSY error.
      
      One remaining unintuitive issue is that the DAC volume is still
      controlled as "Side" volume although it's shared by both independent-HP
      and side streams.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      25250505
  4. 29 6月, 2011 3 次提交
  5. 22 6月, 2011 1 次提交
    • T
      ALSA: hda - Implement dynamic-ADC switching for VIA codecs · a86a88ea
      Takashi Iwai 提交于
      Some VIA codecs like VT1702 provide the input-route only to specific
      ADCs such as digital-mic inputs.  These routes aren't covered by the
      normal primary ADC, and for now, user had to open the capture stream
      assigned to that special ADC manually for using such inputs.
      
      This patch implements a way to switch the current ADC dynamically per
      the input-source selection in such a case.  When this workaround is
      activated, the driver provides only one capture stream and one input-
      source control but with the full possible inputs.  The driver switches
      the ADC to be used (or being used) according to the input-source on the
      fly.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      a86a88ea
  6. 21 6月, 2011 13 次提交
  7. 20 6月, 2011 17 次提交