1. 18 1月, 2013 7 次提交
    • T
      ALSA: hda - Add boost to line inputs, too · 1799cdd5
      Takashi Iwai 提交于
      Although I commented that boost volumes would be added only for
      line-in and mic pins in the source code, the actual code excludes but
      for mic-in.  Fix it to accept the line-ins, too.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      1799cdd5
    • T
      ALSA: hda - Consolidate cap_sync_hook and capture_switch_hook · a90229e0
      Takashi Iwai 提交于
      Two hooks in hda_gen_spec, cap_sync_hook and capture_switch_hook, play
      very similar roles.  The only differences are that the former is
      called more often (e.g. at init or switching capsrc) while the latter
      can take an on/off argument.
      
      As a more generic implementation, consolidate these two hooks, and
      pass snd_ctl_elem_value pointer as the second argument.  If the
      secondary argument is non-NULL, it can take the on/off value, so the
      caller handles it like the former capture_switch_hook.  If it's NULL,
      it's called in the init or capsrc switch case.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      a90229e0
    • T
      ALSA: hda - Fix missing call of capture_switch_hook · a35bd1e3
      Takashi Iwai 提交于
      When a standard capture switch without multiple binding is used, the
      call for capture_switch_hook isn't called properly.  Replace the put
      ops to add the hook call in that case.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      a35bd1e3
    • T
      ALSA: hda - Look for boost controls more deeply · 6f7c83af
      Takashi Iwai 提交于
      In the current generic parser code, we look for the (mic) boost
      controls only on input pins.  But many codecs assign the boost volume
      to a widget connected to each input pin instead of the input amp of
      the pin itself.
      
      In this patch, the parser tries to look through more widgets connected
      to the pin and find a boost amp.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      6f7c83af
    • T
      ALSA: hda - Fix invalid mute in path activation · 8999bf0a
      Takashi Iwai 提交于
      When an amp in the activation path is associated with mixer controls,
      activate_amp() tries to skip the initialization.  It's good, but only
      if the mixer really initializes both mute and volume.  Otherwise,
      either the mute of the volume is left uninitialized.
      
      This patch adds this missing check and properly initialize the
      partially controlled amps in an activation path.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      8999bf0a
    • T
      ALSA: hda - Unify input label creations in generic parser · c970042c
      Takashi Iwai 提交于
      There are a few places creating the labels and indices of kctls for
      each input pin in the current generic parser code.  This is redundant
      and makes harder to maintain.  Let's create the labels and indices at
      once and keep them in hda_gen_spec.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      c970042c
    • T
      ALSA: hda - Keep autocfg.input idx value in imux table · 9dba205b
      Takashi Iwai 提交于
      Since the imux table entries can be a subset of autocfg.input table,
      the indices of these aren't always same.  For passing the proper index
      value of autocfg.input at creating input ctl labels (via
      snd_hda_autocfg_input_label()), keep the corresponding autocfg.input
      idx value in the index field of each imux item, which isn't used in
      the generic driver.
      
      Also, this makes easier to check the invalid imux pin for stereo mix.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      9dba205b
  2. 17 1月, 2013 8 次提交
  3. 16 1月, 2013 7 次提交
  4. 14 1月, 2013 1 次提交
  5. 12 1月, 2013 17 次提交