From: Krzysztof Helt Date: Tue, 27 Jan 2009 10:44:14 +0000 (+0100) Subject: Fix GUS.conf to be usable X-Git-Tag: v1.0.20~15 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=777a869769f064c84ef38211c090f31bda169129;p=alsa-lib.git Fix GUS.conf to be usable Fix GUS.conf to work for default PCM. Signed-off-by: Takashi Iwai --- 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 + } + } }