1. 21 7月, 2011 2 次提交
  2. 18 7月, 2011 2 次提交
    • T
      ALSA: hda - Switch HP DAC dynamically with indep-HP switch for VIA · 3b607e3d
      Takashi Iwai 提交于
      This patch changes the behavior of independent-HP enum switch.  Now
      instead of returning a busy error, the driver switches dynamically the
      stream of the HP (and shared) DACs according to the current mode.
      The logic is similar like the dual-mic ADC switch, but a bit more
      complicated because of the presence of shared DAC.
      
      Together with the change, a mutex is introduced to protect against the
      possible races for the indep-HP mode setting.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      3b607e3d
    • T
      ALSA: hda - Implement dynamic loopback control for VIA codecs · 3214b966
      Takashi Iwai 提交于
      This patch adds the dynamic control of analog-loopback for VIA codecs.
      
      When the loopback is enabled, the inputs from line-ins and mics are
      mixed with the front DAC, and sent to the front outputs.  The very same
      input is routed to the headhpones and speakers in loopback mode.
      However, since the loopback mix can't take other than the front DAC,
      there is no longer individual volume controls for headphones and
      speakers.  Once when the loopback control is off, these volumes take
      effect.
      
      Since the individual volumes are more desired in general use caess, the
      loopback mode is set to off as default for now.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      3214b966
  3. 12 7月, 2011 1 次提交
    • T
      ALSA: hda - Expose secret DAC-AA connection of some VIA codecs · 30b45033
      Takashi Iwai 提交于
      VT1718S and co have a secret connection from DAC to AA-mix, which
      doesn't appear in the connection list obtained from the h/w.
      Currently the driver fixes the connection index locally at init, but
      now we can expose it statically via snd_hda_override_connections()
      so that this conection can be checked better by the parser in future.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      30b45033
  4. 11 7月, 2011 3 次提交
  5. 08 7月, 2011 5 次提交
  6. 04 7月, 2011 5 次提交
  7. 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
  8. 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
  9. 29 6月, 2011 3 次提交
  10. 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
  11. 21 6月, 2011 13 次提交
  12. 20 6月, 2011 3 次提交