]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Specify subdevice number for Maestor3 dmix setting
authorTakashi Iwai <tiwai@suse.de>
Tue, 22 May 2007 16:38:58 +0000 (18:38 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 May 2007 16:38:58 +0000 (18:38 +0200)
The subdevice number of a dmix slave PCM has to be specified explicitly
for the device with multiple substreams such as Maestro3.

src/conf/cards/Maestro3.conf

index 2916cf4954c3ba0492989112933de16f2fc88d5d..94323227d7910bff9329d01e9c7c0e4cd2ca29b7 100644 (file)
@@ -21,8 +21,10 @@ Maestro3.pcm.default {
        playback.pcm {
                type plug
                slave.pcm {
+                       # we need to specify device and subdevice numbers
+                       # for a device with multiple substreams
                        @func concat
-                       strings [ "dmix:" $CARD ]
+                       strings [ "dmix:" $CARD ",0,0" ]
                }
        }
        capture.pcm {