The environment variable UCM_USB_PERIOD_TIME (microseconds / μs)
can define the period size for the PCM channel split over
the default value 10000μs.
BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/240
Fixes: https://github.com/alsa-project/alsa-ucm-conf/issues/238
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Define.MixerRemap ""
Define.SplitPCMPeriodTime 10000 # 10ms
+If.env1 {
+ Condition {
+ Type String
+ Empty "${env:UCM_USB_PERIOD_TIME}"
+ }
+ False.Define.SplitPCMPeriodTime "${env:UCM_USB_PERIOD_TIME}"
+}
+
If.linked {
Condition {
Type RegexMatch