]> git.alsa-project.org Git - alsa-ucm-conf.git/commit
UMC204HD: Use newly introduced macros to simplify configs
authorJaroslav Kysela <perex@perex.cz>
Tue, 17 May 2022 17:44:56 +0000 (19:44 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 27 May 2022 08:16:28 +0000 (10:16 +0200)
commit11bd316562485ae3c1aa7d5f001b40af8d197fad
tree69aa262381fd38648af9c79f117be7f987543eab
parenta3cedf9952b080eeed8b472537b3c372807fbe46
UMC204HD: Use newly introduced macros to simplify configs

Although the information is somehow duplicated, the current
macros support both "alsa-lib PCM channel split" and
"application side PCM channel split".

The key is the readability.

Test:

alsaucm -c "hw:1" dump text

vs.

alsaucm -c "<<<SplitPCM=1>>>hw:1" dump text

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/USB-Audio/Behringer/UMC204HD-HiFi.conf
ucm2/USB-Audio/USB-Audio.conf