mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-27 07:00:09 -05:00
The subdevice number of a dmix slave PCM has to be specified explicitly for the device with multiple substreams such as Maestro3.
38 lines
558 B
Text
38 lines
558 B
Text
# configuration for ESS Maestro3
|
|
|
|
<confdir:pcm/front.conf>
|
|
|
|
Maestro3.pcm.front.0 {
|
|
@args [ CARD ]
|
|
@args.CARD {
|
|
type string
|
|
}
|
|
type hw
|
|
card $CARD
|
|
}
|
|
|
|
# default with dmix/dsnoop
|
|
Maestro3.pcm.default {
|
|
@args [ CARD ]
|
|
@args.CARD {
|
|
type string
|
|
}
|
|
type asym
|
|
playback.pcm {
|
|
type plug
|
|
slave.pcm {
|
|
# we need to specify device and subdevice numbers
|
|
# for a device with multiple substreams
|
|
@func concat
|
|
strings [ "dmix:" $CARD ",0,0" ]
|
|
}
|
|
}
|
|
capture.pcm {
|
|
type plug
|
|
slave.pcm {
|
|
@func concat
|
|
strings [ "dsnoop:" $CARD ]
|
|
}
|
|
}
|
|
}
|
|
|