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

@ -11,7 +11,6 @@ VIA8237.pcm.front.0 {
}
type hw
card $CARD
device 0
}
# default with softvol/dsnoop
@ -29,7 +28,6 @@ VIA8237.pcm.default {
slave.pcm {
type hw
card $CARD
device 0
}
control {
name "PCM Playback Volume"
@ -65,7 +63,6 @@ VIA8237.pcm.surround40.0 {
hook_args [
{
name "Channel Mode"
device 0
preserve true
value "4ch"
lock true
@ -73,7 +70,6 @@ VIA8237.pcm.surround40.0 {
}
{
name "Surround Down Mix"
device 0
preserve true
value off
lock true
@ -112,7 +108,6 @@ VIA8237.pcm.surround51.0 {
hook_args [
{
name "Channel Mode"
device 0
preserve true
value "6ch"
lock true
@ -120,7 +115,6 @@ VIA8237.pcm.surround51.0 {
}
{
name "Surround Down Mix"
device 0
preserve true
value off
lock true
@ -128,7 +122,6 @@ VIA8237.pcm.surround51.0 {
}
{
name "Center/LFE Down Mix"
device 0
preserve true
value off
lock true
@ -163,7 +156,6 @@ VIA8237.pcm.iec958.0 {
slave.pcm {
type hw
card $CARD
device 0
subdevice 3
}
hooks.0 {