Skip to content

Commit

Permalink
common: direct - fix the case where DirectCardName variable is undefined
Browse files Browse the repository at this point in the history
Fixes: #175
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
  • Loading branch information
perexg committed Jun 21, 2022
1 parent c802ca0 commit 2cc5a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ucm2/common/direct.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
If.direct {
Condition {
Type String
Empty "${var:DirectCardName}"
Empty "${var:-DirectCardName}"
}
True.Define.DirectCardName "${CardName}"
}
Expand Down

1 comment on commit 2cc5a68

@sreich
Copy link

@sreich sreich commented on 2cc5a68 Jul 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Others are speculating this commit broke audio interfaces, causing: https://github.com/alsa-project/alsa-lib/issues/254 @perexg

Is it better for us to move the issue tracking over here in this project?

Please sign in to comment.