]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: hw: change rate range syntax
authorJaroslav Kysela <perex@perex.cz>
Fri, 20 May 2022 16:37:01 +0000 (18:37 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 20 May 2022 16:45:23 +0000 (18:45 +0200)
commit7f2d6c3aac3505ceee4b0d3e8b3ca423ce29b070
treecdc515656f7ae09d7aea27cd752abf13f1ec45ba
parentd85c0d8d46dc161ca3d7deea01549b7097c9f1c9
pcm: hw: change rate range syntax

Allow three configuration types:

  rate 48000 # single rate
  rate [ 48000 ] # single rate (2nd)
  rate [ 44100 48000 ] # range

Fixes: https://github.com/alsa-project/alsa-lib/pull/191
Fixes: ac04cb63 ("hw: add "min_rate" and "max_rate" as alternatives to single "rate" parameter")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm_hw.c