]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Fix GUS.conf to be usable
authorKrzysztof Helt <krzysztof.h1@poczta.fm>
Tue, 27 Jan 2009 10:44:14 +0000 (11:44 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 27 Jan 2009 10:44:14 +0000 (11:44 +0100)
Fix GUS.conf to work for default PCM.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/conf/cards/GUS.conf

index 80e305893e8b36398979acc7a36c338b0f39e52c..b56d1ea3352838a79b5ab694b3e4bb5d07daab04 100644 (file)
@@ -19,10 +19,12 @@ GUS.pcm.front.0 {
 }      
 
 #
-# It's a temporary solution.
+# First route with plug to drop mmap requirement.
+# Then, use the mmap_emul plugin to allow using
+# noninterleaved channels.
 #
 
-!pcm.hw {
+!pcm.default {
        @args [ CARD DEV SUBDEV ]
        @args.CARD {
                type string
@@ -58,9 +60,14 @@ GUS.pcm.front.0 {
                        name defaults.pcm.subdevice
                }
        }               
-       type hw
-       card $CARD
-       device $DEV
-       subdevice $SUBDEV
-       mmap_emulation on
+       type plug
+       slave.pcm {
+               type mmap_emul
+               slave.pcm {
+                       type hw
+                       card $CARD
+                       device $DEV
+                       subdevice $SUBDEV
+               }
+       }
 }