mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
- remove device 0/subdevice 0 from configuration files (it's default)
- name_hint
- fixed parsing slaves
- obtain device numbers directly from 'type hw' configurations to
avoid poluting of configurations scripts with hint.device lines
51 lines
699 B
Text
51 lines
699 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" ]
|
|
}
|
|
control {
|
|
name "PCM Playback Volume"
|
|
card $CARD
|
|
}
|
|
}
|
|
}
|
|
capture.pcm {
|
|
type plug
|
|
slave.pcm {
|
|
@func concat
|
|
strings [ "dsnoop:CARD=" $CARD ",FORMAT=S16" ]
|
|
}
|
|
}
|
|
}
|