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,14 +13,12 @@ EMU10K1.pcm.front.0 {
slave.pcm {
type hw
card $CARD
device 0
}
hooks.0 {
type ctl_elems
hook_args [
{
interface PCM
device 0
name "EMU10K1 PCM Send Volume"
index { @func private_pcm_subdevice }
lock true
@ -37,7 +35,6 @@ EMU10K1.pcm.front.0 {
}
{
interface PCM
device 0
name "EMU10K1 PCM Send Routing"
index { @func private_pcm_subdevice }
lock true
@ -67,14 +64,12 @@ EMU10K1.pcm.rear.0 {
slave.pcm {
type hw
card $CARD
device 0
}
hooks.0 {
type ctl_elems
hook_args [
{
interface PCM
device 0
name "EMU10K1 PCM Send Volume"
index { @func private_pcm_subdevice }
lock true
@ -104,7 +99,6 @@ EMU10K1.pcm.center_lfe.0 {
slave.pcm {
type hw
card $CARD
device 0
}
hooks.0 {
type ctl_elems
@ -135,7 +129,6 @@ EMU10K1.pcm.center_lfe.0 {
# }
{
interface PCM
device 0
name "EMU10K1 PCM Send Volume"
index { @func private_pcm_subdevice }
lock true
@ -152,7 +145,6 @@ EMU10K1.pcm.center_lfe.0 {
}
{
interface PCM
device 0
name "EMU10K1 PCM Send Routing"
index { @func private_pcm_subdevice }
lock true