summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/conf/cards/GUS.conf21
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
+ }
+ }
}