]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Use route slave pcm instead of plug.
authorTakashi Iwai <tiwai@suse.de>
Wed, 20 Jun 2001 15:32:36 +0000 (15:32 +0000)
committerTakashi Iwai <tiwai@suse.de>
Wed, 20 Jun 2001 15:32:36 +0000 (15:32 +0000)
If you need to play 8 or 16bit data on the first two channels, you can do
even like this:
aplay -Dplug:front foo.wav

src/cards/ICE1712.conf

index 1206e3b2d7471d8f9f775fd3d4b4502e208ae83f..51d814f470b833c3c1832a88f2528878fc45c5d5 100644 (file)
@@ -7,7 +7,7 @@ cards.ICE1712.pcm.front.0 {
        @args.CARD {
                type string
        }
-       type plug
+       type route
        ttable.0.0 1
        ttable.1.1 1
        slave.pcm {
@@ -21,7 +21,7 @@ cards.ICE1712.pcm.surround40.0 {
        @args.CARD {
                type string
        }
-       type plug
+       type route
        ttable.0.0 1
        ttable.1.1 1
        ttable.2.2 1
@@ -37,7 +37,7 @@ cards.ICE1712.pcm.surround51.0 {
        @args.CARD {
                type string
        }
-       type plug
+       type route
        ttable.0.0 1
        ttable.1.1 1
        ttable.2.2 1
@@ -72,10 +72,13 @@ cards.ICE1712.pcm.iec958.0 {
        }
        type hooks
        slave.pcm {
-               type plug
+               type route
                ttable.0.8 1
                ttable.1.9 1
-               card $CARD
+               slave.pcm {
+                       type hw
+                       card $CARD
+               }
        }
        hooks.0 {
                type ctl_elems