mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-28 07:00:15 -05:00
The snd_config_expand functions expands the runtime contents (@func...). Removed the environment variable replace code from the configuration parser. Updated the alsa.conf configuration file.
77 lines
928 B
Text
77 lines
928 B
Text
#
|
|
# Configuration for the SI7018 chip
|
|
#
|
|
|
|
pcm.front {
|
|
args [ CARD DEV SUBDEV ]
|
|
args.CARD {
|
|
type integer
|
|
}
|
|
args.DEV {
|
|
type integer
|
|
}
|
|
args.SUBDEV {
|
|
type integer
|
|
default -1
|
|
}
|
|
type hw
|
|
card $(CARD)
|
|
device $(DEV)
|
|
subdevice $(SUBDEV)
|
|
}
|
|
|
|
pcm_slave.front {
|
|
pcm pcm.front
|
|
channels 2
|
|
}
|
|
|
|
pcm.rear {
|
|
args [ CARD DEV SUBDEV ]
|
|
args.CARD {
|
|
type integer
|
|
}
|
|
args.DEV {
|
|
type integer
|
|
}
|
|
args.SUBDEV {
|
|
type integer
|
|
default -1
|
|
}
|
|
type hw
|
|
card $(CARD)
|
|
device $(DEV)
|
|
subdevice $(SUBDEV)
|
|
}
|
|
|
|
pcm_slave.rear {
|
|
pcm pcm.rear
|
|
channels 2
|
|
}
|
|
|
|
pcm.surround40_0_trident_dx_nx {
|
|
args [ CARD ]
|
|
args.CARD {
|
|
type integer
|
|
}
|
|
type multi
|
|
slaves [
|
|
{
|
|
@func concat
|
|
strings [
|
|
"pcm_slave.front:" $(CARD) ",0,-1"
|
|
]
|
|
}
|
|
{
|
|
@func concat
|
|
strings [
|
|
"pcm_slave.rear:" $(CARD) ",0,-1"
|
|
]
|
|
}
|
|
]
|
|
bindings [
|
|
{ slave 0 channel 0 }
|
|
{ slave 0 channel 1 }
|
|
{ slave 1 channel 0 }
|
|
{ slave 1 channel 1 }
|
|
]
|
|
}
|