mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-27 07:00:09 -05:00
pcm config files cleanups and name hint extension
- 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
This commit is contained in:
parent
b40a116b8e
commit
d7916981bf
57 changed files with 79 additions and 177 deletions
|
|
@ -13,13 +13,11 @@ HDA-Intel.pcm.front.0 {
|
|||
slave.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
}
|
||||
control {
|
||||
name "PCM Playback Volume"
|
||||
card $CARD
|
||||
}
|
||||
hint.device 0
|
||||
}
|
||||
|
||||
# default with dmix+softvol & dsnoop
|
||||
|
|
@ -50,16 +48,6 @@ HDA-Intel.pcm.default {
|
|||
strings [ "dsnoop:" $CARD ]
|
||||
}
|
||||
}
|
||||
hint {
|
||||
device_output {
|
||||
@func refer
|
||||
name defaults.pcm.dmix.device
|
||||
}
|
||||
device_input {
|
||||
@func refer
|
||||
name defaults.pcm.dsnoop.device
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
<confdir:pcm/surround40.conf>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue