mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-19 07:00:06 -05:00
New syntax for the substituted variables - $(var).
Improved the variable substitution (all references in a string are replaced). Added special redirect loading code (to separate card dependant code to single files).
This commit is contained in:
parent
135461daeb
commit
61bf03ce70
8 changed files with 537 additions and 85 deletions
5
src/cards/Makefile.am
Normal file
5
src/cards/Makefile.am
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
alsadir = $(datadir)/alsa/cards
|
||||
cfg_files = SI_7018.conf
|
||||
|
||||
EXTRA_DIST = $(cfg_files)
|
||||
alsa_DATA = $(cfg_files)
|
||||
18
src/cards/SI_7018.conf
Normal file
18
src/cards/SI_7018.conf
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#
|
||||
# Configuration for the SI7018 chip
|
||||
#
|
||||
|
||||
pcm.surround40_0_trident_dx_nx {
|
||||
$.0 CARD
|
||||
$.1 DEV
|
||||
$.CARD {
|
||||
type integer
|
||||
}
|
||||
$.DEV {
|
||||
type integer
|
||||
}
|
||||
type hw
|
||||
card $(CARD)
|
||||
device $(DEV)
|
||||
subdevice -1
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue