]> Git Repo - linux.git/commit
ALSA: pcm: Add snd_interval_ranges() and snd_pcm_hw_constraint_ranges()
authorPeter Rosin <[email protected]>
Wed, 28 Jan 2015 14:16:06 +0000 (15:16 +0100)
committerMark Brown <[email protected]>
Wed, 28 Jan 2015 19:27:15 +0000 (19:27 +0000)
commitf66f898e953d56779367a6cbc39cbb4808b208c0
treed0a7c9d3d6f9349080d5beca852723cd1574a1f6
parentba5295e55dd941425b10924f4f5c7af6eac4a1cb
ALSA: pcm: Add snd_interval_ranges() and snd_pcm_hw_constraint_ranges()

Add helper functions to allow drivers to specify several disjoint
ranges for a variable. In particular, there is a codec (PCM512x) that
has a hole in its supported range of rates, due to PLL and divider
restrictions.

This is like snd_pcm_hw_constraint_list(), but for ranges instead of
points.

Signed-off-by: Peter Rosin <[email protected]>
Reviewed-by: Lars-Peter Clausen <[email protected]>
Reviewed-by: Takashi Iwai <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
include/sound/pcm.h
sound/core/pcm_lib.c
This page took 0.055195 seconds and 4 git commands to generate.