diff options
author | Krzysztof Helt <krzysztof.h1@poczta.fm> | 2009-01-27 11:44:14 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-01-27 11:44:14 +0100 |
commit | 777a869769f064c84ef38211c090f31bda169129 (patch) | |
tree | 50b3e82e5cbb81230c424fd3b730fe25392add4e | |
parent | 3b728db20d1729f1270731006f44c20ab910bee0 (diff) | |
download | alsa-lib-777a869769f064c84ef38211c090f31bda169129.tar.gz |
Fix GUS.conf to be usable
Fix GUS.conf to work for default PCM.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | src/conf/cards/GUS.conf | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/src/conf/cards/GUS.conf b/src/conf/cards/GUS.conf index 80e30589..b56d1ea3 100644 --- a/src/conf/cards/GUS.conf +++ b/src/conf/cards/GUS.conf @@ -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 + } + } } |