]> git.alsa-project.org Git - alsa-lib.git/commitdiff
More complicated example for tests
authorJaroslav Kysela <perex@perex.cz>
Mon, 18 Jun 2001 12:02:33 +0000 (12:02 +0000)
committerJaroslav Kysela <perex@perex.cz>
Mon, 18 Jun 2001 12:02:33 +0000 (12:02 +0000)
src/cards/SI_7018.conf

index 6ce069eb3576fa7e2c4a07e7c6c363fb60a8ec5b..d83981cc3481680d6ba97c4faff5ce82718ee0cd 100644 (file)
@@ -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 {