ALC4080: fix spdif_nodev default condition

Fix the thinko. The device layout is like:

  device: 0
  name: USB Audio
  subname: subdevice #0
  ...
  device: 3
  name: USB Audio #3
  subname: subdevice #0

Fixes: https://github.com/alsa-project/alsa-ucm-conf/issues/773
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2026-06-04 14:48:02 +02:00
commit f846a8bba8

View file

@ -107,7 +107,7 @@ If.spdif_dev2 {
False.If.spdif_nodev {
Condition {
Type String
Empty "$${find-device:type=pcm,stream=playback,field=subname,regex='Audio #3'}"
Empty "$${find-device:type=pcm,stream=playback,field=name,regex='Audio #3'}"
}
True.Define.SpdifName ""
}