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
37 lines
480 B
Text
37 lines
480 B
Text
#
|
|
# Configuration for PMac
|
|
#
|
|
|
|
<confdir:pcm/front.conf>
|
|
|
|
PMac.pcm.front.0 {
|
|
@args [ CARD ]
|
|
@args.CARD {
|
|
type string
|
|
}
|
|
type hw
|
|
card $CARD
|
|
}
|
|
|
|
# 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" ]
|
|
}
|
|
}
|
|
}
|