Fix GUS.conf to be usable

Fix GUS.conf to work for default PCM.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Krzysztof Helt 2009-01-27 11:44:14 +01:00 committed by Takashi Iwai
parent 3b728db20d
commit 777a869769

View 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 DEV SUBDEV ]
@args.CARD { @args.CARD {
type string type string
@ -58,9 +60,14 @@ GUS.pcm.front.0 {
name defaults.pcm.subdevice name defaults.pcm.subdevice
} }
} }
type plug
slave.pcm {
type mmap_emul
slave.pcm {
type hw type hw
card $CARD card $CARD
device $DEV device $DEV
subdevice $SUBDEV subdevice $SUBDEV
mmap_emulation on }
}
} }