]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
USB-Audio: the environment variable UCM_USB_PERIOD_TIME may be undefined
authorJaroslav Kysela <perex@perex.cz>
Tue, 22 Nov 2022 08:54:22 +0000 (09:54 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 22 Nov 2022 08:55:06 +0000 (09:55 +0100)
Fixes: 71ff24c ("USB-Audio: allow to configure period size for PCM split")
BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/240
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/USB-Audio/USB-Audio.conf

index fdc29ecc7b117b2b70362114eccd01d8ab56e13f..1c11da96c723d441359c4a03111726aa3186a9e1 100644 (file)
@@ -7,7 +7,7 @@ Define.SplitPCMPeriodTime 10000         # 10ms
 If.env1 {
        Condition {
                Type String
-               Empty "${env:UCM_USB_PERIOD_TIME}"
+               Empty "$${env:UCM_USB_PERIOD_TIME}"
        }
        False.Define.SplitPCMPeriodTime "${env:UCM_USB_PERIOD_TIME}"
 }