]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: Introduce snd_pcm_subformat_value()
authorCezary Rojewski <cezary.rojewski@intel.com>
Fri, 4 Aug 2023 08:07:19 +0000 (10:07 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 8 Dec 2023 19:03:28 +0000 (20:03 +0100)
commitf33284e85e57857199b873ff4e6b4e1eeeb71162
tree6ae2bfce4fb3d6c6a75527e156b237e028afd864
parented6b07084bfea4155bbc98bcf38508ab81bdd008
pcm: Introduce snd_pcm_subformat_value()

Allow userspace applications to select subformats easily just like in
snd_pcm_format_t case - by string conversion.

Closes: https://github.com/alsa-project/alsa-lib/pull/342
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/pcm.h
src/pcm/pcm.c