
alsa-project/alsa-ucm-conf issue #567 was opened from shumingfan:
We have an Intel platform machine that equips the rt722 multi-codecs and rt1320 amplifier. This machine driver will use the amp of rt722 and rt1320 both. Therefore, the component string is shown below.
`Components : 'HDA:8086281d,80860101,00100000 cfg-amp:2 hs:rt722 spk:rt722 spk:rt1320'`
I tried to modify the regular expression to capture substrings to SpeakerCodec1 and SpeakerCodec2 variables. However, I can't get SpeakerCodec2="rt1320", even though I changed the regular expression to ``` SpeakerCodec { Regex " spk:(rt722)| spk:(rt1320)" String "${CardComponents}" } ``` The variable SpeakerCodec2 is still an empty string. What do I miss?
Issue URL : https://github.com/alsa-project/alsa-ucm-conf/issues/567 Repository URL: https://github.com/alsa-project/alsa-ucm-conf
participants (1)
-
GitHub issues - opened