Fix endianess of PMac driver for the latest change of dmix.
Now need to specify the (big-endian) format explicitly.
Maestro3.conf \
NFORCE.conf \
PC-Speaker.conf \
+ PMac.conf \
PMacToonie.conf \
RME9636.conf \
RME9652.conf \
--- /dev/null
+#
+# Configuration for PMac
+#
+
+<confdir:pcm/front.conf>
+
+PMac.pcm.front.0 {
+ @args [ CARD ]
+ @args.CARD {
+ type string
+ }
+ type hw
+ card $CARD
+ device 0
+}
+
+# default with dmix/dsnoop
+PMac.pcm.default {
+ @args [ CARD ]
+ @args.CARD {
+ type string
+ }
+ type asym
+ playback.pcm {
+ type plug
+ slave.pcm {
+ @func concat
+ strings [ "dmix:CARD=" $CARD ",FORMAT=S16" ]
+ }
+ }
+ capture.pcm {
+ type plug
+ slave.pcm {
+ @func concat
+ strings [ "dsnoop:CARD=" $CARD ",FORMAT=S16" ]
+ }
+ }
+}
}
}
-# once when dmix is confirmed to work on ppc, we should enable dmix/dsnoop
-# for default, too
-
+# default with dmix+softvol & dsnoop
PMacToonie.pcm.default {
@args [ CARD ]
@args.CARD {
type string
}
type asym
- playback.pcm {
type plug
slave.pcm {
type softvol
slave.pcm {
- type hw
- card $CARD
- device 0
+ @func concat
+ strings [ "dmix:CARD=" $CARD ",FORMAT=S16" ]
}
control {
name "PCM Playback Volume"
capture.pcm {
type plug
slave.pcm {
- type hw
- card $CARD
- device 0
+ @func concat
+ strings [ "dsnoop:CARD=" $CARD ",FORMAT=S16" ]
}
}
}