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:
Jaroslav Kysela 2001-06-11 08:07:48 +00:00
parent 135461daeb
commit 61bf03ce70
8 changed files with 537 additions and 85 deletions

5
src/cards/Makefile.am Normal file
View 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
View 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
}