Fix GUS.conf to work for default PCM.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
}
#
-# 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
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
+ }
+ }
}