mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
conf: extend load_for_all_cards hook (id/value table)
For the per-card configuration, add possibility to define card number -> card driver link table. Example: cards.0 'cards.USB-Audio' cards.1 'cards.USB-Audio' cards.2 'cards.HDA-Intel' cards.3 'cards.USB-Audio' Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
d00d7a184c
commit
63f7745be5
2 changed files with 97 additions and 24 deletions
|
|
@ -67,6 +67,21 @@ cards.@hooks [
|
|||
]
|
||||
}
|
||||
]
|
||||
table {
|
||||
id {
|
||||
@func concat
|
||||
strings [
|
||||
{ @func private_integer }
|
||||
]
|
||||
}
|
||||
value {
|
||||
@func concat
|
||||
strings [
|
||||
"cards."
|
||||
{ @func private_string }
|
||||
]
|
||||
}
|
||||
}
|
||||
errors false
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue