]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Use dmix/dsnoop for maestro3 boards
authorTakashi Iwai <tiwai@suse.de>
Wed, 4 Oct 2006 15:33:25 +0000 (17:33 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 4 Oct 2006 15:33:25 +0000 (17:33 +0200)
Use dmix/dsnoop for maestro3 boards.  Although maestro3 has multiple
playback capability, it supports only two streams (with the currently
available firmware).

src/conf/cards/Maestro3.conf

index 7f071e911ef80f1d1d6865c316e57d1a4694d0c8..b5f2bcbfe744c6421d465ad2b29cc108cf992cae 100644 (file)
@@ -11,3 +11,27 @@ Maestro3.pcm.front.0 {
        card $CARD
        device 0
 }      
+
+# default with dmix/dsnoop
+Maestro3.pcm.default {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type asym
+       playback.pcm {
+               type plug
+               slave.pcm {
+                       @func concat
+                       strings [ "dmix:" $CARD ]
+               }
+       }
+       capture.pcm {
+               type plug
+               slave.pcm {
+                       @func concat
+                       strings [ "dsnoop:" $CARD ]
+               }
+       }
+}
+