mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-08 13:30:03 -05:00
More complicated example for tests
This commit is contained in:
parent
fd8c75d112
commit
9803257f70
1 changed files with 18 additions and 4 deletions
|
|
@ -44,10 +44,24 @@ pcm.si7018_rear {
|
|||
type integer
|
||||
default -1
|
||||
}
|
||||
type hw
|
||||
card $(CARD)
|
||||
device $(DEV)
|
||||
subdevice $(SUBDEV)
|
||||
type hooks
|
||||
slave.pcm {
|
||||
@func concat
|
||||
strings [
|
||||
"pcm.si7018_front:" $(CARD) "," $(DEV) "," $(SUBDEV)
|
||||
]
|
||||
}
|
||||
hooks.0 {
|
||||
type ctl_elems
|
||||
hook_args [
|
||||
{
|
||||
name "PCM Playback Volume"
|
||||
preserve true
|
||||
lock true
|
||||
value [ 24 24 ]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
pcm.rear_0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue