1. 09 3月, 2009 2 次提交
    • T
      ALSA: Add kernel-doc comments to vmaster stuff · 79c7cdd5
      Takashi Iwai 提交于
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      79c7cdd5
    • T
      ALSA: add snd_ctl_add_slave_uncached() · f5b1db63
      Takashi Iwai 提交于
      Added snd_ctl_add_slave_uncached() function to add a slave element
      with volatile controls.  The values of normal slave elements are
      supposed to be cachable, i.e. they are changed only via the put
      callbacks.  OTOH, when a slave element is volatile and its values may
      be changed by other reason (e.g. hardware status change), the values
      will get inconsistent.
      
      The new function allows the slave elements with volatile changes.
      When the slave is tied with this call, the native get callback is
      issued at each time so that the values are always updated.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f5b1db63
  2. 24 4月, 2008 2 次提交
  3. 01 2月, 2008 1 次提交
    • T
      [ALSA] Add virtual master control helpers · 3b0a5f22
      Takashi Iwai 提交于
      Added helper functions to implement virtual master volume controls.
      The virtual master control is a control element that has multiple
      slave controls.  The value of master element is equally added to
      slave elements.
      The functions are written for general purpose, but it's put in the
      HD-audio directory as now, since HD-audio driver is the only user.
      It should be moved to the common place once after other drivers use
      vmaster.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NJaroslav Kysela <perex@perex.cz>
      3b0a5f22