From 777a869769f064c84ef38211c090f31bda169129 Mon Sep 17 00:00:00 2001 From: Krzysztof Helt Date: Tue, 27 Jan 2009 11:44:14 +0100 Subject: [PATCH] Fix GUS.conf to be usable Fix GUS.conf to work for default PCM. Signed-off-by: Takashi Iwai --- src/conf/cards/GUS.conf | 21 ++++++++++++++------- 1 file 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 + } + } } -- 2.47.1