mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-19 07:00:06 -05:00
* Cleaned the alsa.conf syntax:
- added pcm.front, pcm.rear, pcm.center_lfe blocks * Added configuration for EMU10K1 (it's fully working one!!!) * snd_config_redirect_load->snd_config_refer_load rename * snd_config_search_alias code change (works also with pairs base.key) * cleanups in the evaluate function (the function prototype has been changed)
This commit is contained in:
parent
1b8d405606
commit
977a9a33f0
25 changed files with 468 additions and 266 deletions
|
|
@ -1,5 +1,5 @@
|
|||
alsadir = $(datadir)/alsa/cards
|
||||
cfg_files = SI_7018.conf
|
||||
cfg_files = SI_7018.conf EMU10K1.conf
|
||||
|
||||
EXTRA_DIST = $(cfg_files)
|
||||
alsa_DATA = $(cfg_files)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# Configuration for the SI7018 chip
|
||||
#
|
||||
|
||||
pcm.front {
|
||||
pcm.si7018_front {
|
||||
args [ CARD DEV SUBDEV ]
|
||||
args.CARD {
|
||||
type integer
|
||||
|
|
@ -20,12 +20,18 @@ pcm.front {
|
|||
subdevice $(SUBDEV)
|
||||
}
|
||||
|
||||
pcm_slave.front {
|
||||
pcm pcm.front
|
||||
channels 2
|
||||
pcm.front_0 {
|
||||
args [ CARD ]
|
||||
args.CARD {
|
||||
type integer
|
||||
}
|
||||
redir {
|
||||
@func concat
|
||||
strings [ "pcm.si7018_front:" $(CARD) ",0,-1" ]
|
||||
}
|
||||
}
|
||||
|
||||
pcm.rear {
|
||||
pcm.si7010_rear {
|
||||
args [ CARD DEV SUBDEV ]
|
||||
args.CARD {
|
||||
type integer
|
||||
|
|
@ -43,12 +49,18 @@ pcm.rear {
|
|||
subdevice $(SUBDEV)
|
||||
}
|
||||
|
||||
pcm_slave.rear {
|
||||
pcm pcm.rear
|
||||
channels 2
|
||||
pcm.rear_0 {
|
||||
args [ CARD ]
|
||||
args.CARD {
|
||||
type integer
|
||||
}
|
||||
redir {
|
||||
@func concat
|
||||
strings [ "pcm.si7018_rear:" $(CARD) ",0,-1" ]
|
||||
}
|
||||
}
|
||||
|
||||
pcm.surround40_0_trident_dx_nx {
|
||||
pcm.surround40_0 {
|
||||
args [ CARD ]
|
||||
args.CARD {
|
||||
type integer
|
||||
|
|
@ -56,16 +68,22 @@ pcm.surround40_0_trident_dx_nx {
|
|||
type multi
|
||||
slaves [
|
||||
{
|
||||
@func concat
|
||||
strings [
|
||||
"pcm_slave.front:" $(CARD) ",0,-1"
|
||||
]
|
||||
pcm {
|
||||
@func concat
|
||||
strings [
|
||||
"pcm.si7018_front:" $(CARD) ",0,-1"
|
||||
]
|
||||
}
|
||||
channels 2
|
||||
}
|
||||
{
|
||||
@func concat
|
||||
strings [
|
||||
"pcm_slave.rear:" $(CARD) ",0,-1"
|
||||
]
|
||||
pcm {
|
||||
@func concat
|
||||
strings [
|
||||
"pcm.si7018_rear:" $(CARD) ",0,-1"
|
||||
]
|
||||
}
|
||||
channels 2
|
||||
}
|
||||
]
|
||||
bindings [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue