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:
Jaroslav Kysela 2006-10-12 16:27:23 +02:00
parent b40a116b8e
commit d7916981bf
57 changed files with 79 additions and 177 deletions

View file

@ -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>