mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-26 07:00:11 -05:00
alsa: conf - use card number roots for device redirects
The change device definitions (pcm.front etc.) from the driver roots (cards.<DRIVER_NAME>) to the card number roots (cards.<CARDNO>). This will allow us to do custom overrides (like UCM) in /var/lib/alsa/card<CARDNO>.conf.d. For dmix and dsnoop default values, use the card ID instead the card driver name. It's more flexible. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
63f7745be5
commit
a468505c96
17 changed files with 21 additions and 21 deletions
|
|
@ -27,7 +27,7 @@ ctl.!default {
|
|||
strings [
|
||||
"cards."
|
||||
{
|
||||
@func card_driver
|
||||
@func card_inum
|
||||
card $CARD
|
||||
}
|
||||
".ctl.default:CARD=" $CARD
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue