1. 30 12月, 2014 2 次提交
    • L
      ALSA: Add support for wildcard msbits constraints · 8ef9df55
      Lars-Peter Clausen 提交于
      Currently the msbits constraints requires to specify a specific sample
      format width for which the constraint should be applied. But often the
      number of most significant bits is not sample format specific, but rather a
      absolute limit. E.g. the PCM interface might accept 32-bit and 24-bit
      samples, but the DAC has a 16-bit resolution and throws away the LSBs. In
      this case for both 32-bit and 24-bit format msbits should be set to 16. This
      patch extends snd_pcm_hw_constraint_msbits() so that a wildcard constraint
      can be setup that is applied for all formats with a sample width larger than
      the specified msbits. Choosing the wildcard constraint is done by setting
      the sample width parameter of the function to 0.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      8ef9df55
    • L
      ALSA: Fix handling of multiple msbits constraints on the same runtime · 19f52fae
      Lars-Peter Clausen 提交于
      If the sound card is made up of discrete components, each with their own
      driver (e.g. like in the ASoC case), we might end up with multiple msbits
      constraint rules installed. Currently this will result in msbits being set
      to whatever the last rule set it to.
      
      This patch updates the behavior of the rule to choose the minimum (other
      than zero) of all the installed rules.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      19f52fae
  2. 19 12月, 2014 3 次提交
  3. 18 12月, 2014 6 次提交
  4. 17 12月, 2014 2 次提交
  5. 16 12月, 2014 3 次提交
  6. 15 12月, 2014 5 次提交
  7. 14 12月, 2014 1 次提交
  8. 13 12月, 2014 1 次提交
  9. 12 12月, 2014 1 次提交
  10. 10 12月, 2014 16 次提交