mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-27 07:00:09 -05:00
PPC drivers should use S16_BE as the base format of dmix/dsnoop. This avoid confusion of format endianess via CPU emulation.
51 lines
705 B
Text
51 lines
705 B
Text
#
|
|
# Configuration for PMac Toonie
|
|
#
|
|
|
|
<confdir:pcm/front.conf>
|
|
|
|
PMacToonie.pcm.front.0 {
|
|
@args [ CARD ]
|
|
@args.CARD {
|
|
type string
|
|
}
|
|
type softvol
|
|
slave.pcm {
|
|
type hw
|
|
card $CARD
|
|
}
|
|
control {
|
|
name "PCM Playback Volume"
|
|
card $CARD
|
|
}
|
|
}
|
|
|
|
# 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 {
|
|
@func concat
|
|
strings [ "dmix:CARD=" $CARD ",FORMAT=S16_BE" ]
|
|
}
|
|
control {
|
|
name "PCM Playback Volume"
|
|
card $CARD
|
|
}
|
|
}
|
|
}
|
|
capture.pcm {
|
|
type plug
|
|
slave.pcm {
|
|
@func concat
|
|
strings [ "dsnoop:CARD=" $CARD ",FORMAT=S16_BE" ]
|
|
}
|
|
}
|
|
}
|