mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-08 13:30:08 -05:00
alsa-monitor: reword the match rule comment in the config file
Each dictionary needs to fully match but out of the dicts we have, only one needs to match to apply. Reword that for clarity. Also document regex vs normal string comparison vs the magic null string.
This commit is contained in:
parent
6f9586bf54
commit
7cb718833b
1 changed files with 11 additions and 3 deletions
|
|
@ -18,9 +18,17 @@ properties = {
|
|||
rules = [
|
||||
# An array of matches/actions to evaluate.
|
||||
{
|
||||
# Rules for matching a device or node. It is an array of
|
||||
# properties that all need to match the regexp. If any of the
|
||||
# matches work, the actions are executed for the object.
|
||||
# Rules for matching a device or node. Each dictionary in this array
|
||||
# specifies the property to match as key and a string or regex match
|
||||
# as value. A successful match requires all dictionary keys (i.e.
|
||||
# properties) to match.
|
||||
#
|
||||
# Actions are are executed for the object if at least one successful
|
||||
# match exists.
|
||||
#
|
||||
# Regular expressions are prefixed with the ~ (tilde) character,
|
||||
# otherwise a standard string comparison is used.
|
||||
# The special value "null" matches against empty properties.
|
||||
matches = [
|
||||
{
|
||||
# This matches all cards. These are regular expressions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue