]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Remove own "default" PCM config from GUS.conf
authorTakashi Iwai <tiwai@suse.de>
Wed, 28 Jan 2009 08:07:53 +0000 (09:07 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Jan 2009 08:07:53 +0000 (09:07 +0100)
The system-wide default PCM config works now (by the fix of plug
mmap_emul support), thus no card-specific hackish config is needed
for GUS.

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

index b56d1ea3352838a79b5ab694b3e4bb5d07daab04..d744c548a3f99e819d33fd989c531cec9a27cf23 100644 (file)
@@ -17,57 +17,3 @@ GUS.pcm.front.0 {
                card $CARD
        }
 }      
-
-#
-# First route with plug to drop mmap requirement.
-# Then, use the mmap_emul plugin to allow using
-# noninterleaved channels.
-#
-
-!pcm.default {
-       @args [ CARD DEV SUBDEV ]
-       @args.CARD {
-               type string
-               default {
-                       @func getenv
-                       vars [
-                               ALSA_PCM_CARD
-                               ALSA_CARD
-                       ]
-                       default {
-                               @func refer
-                               name defaults.pcm.card
-                       }
-               }
-       }
-       @args.DEV {
-               type integer
-               default {
-                       @func igetenv
-                       vars [
-                               ALSA_PCM_DEVICE
-                       ]
-                       default {
-                               @func refer
-                               name defaults.pcm.device
-                       }
-               }
-       }
-       @args.SUBDEV {
-               type integer
-               default {
-                       @func refer
-                       name defaults.pcm.subdevice
-               }
-       }               
-       type plug
-       slave.pcm {
-               type mmap_emul
-               slave.pcm {
-                       type hw
-                       card $CARD
-                       device $DEV
-                       subdevice $SUBDEV
-               }
-       }
-}