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,7 +13,6 @@ ICH4.pcm.front.0 {
slave.pcm {
type hw
card $CARD
device 0
}
control {
name "PCM Playback Volume"
@ -64,7 +63,6 @@ ICH4.pcm.surround40.0 {
slave.pcm {
type hw
card $CARD
device 0
channels 4
}
hooks.0 {
@ -115,7 +113,6 @@ ICH4.pcm.surround51.0 {
slave.pcm {
type hw
card $CARD
device 0
channels 6
}
hooks.0 {
@ -194,7 +191,6 @@ ICH4.pcm.iec958.0 {
hook_args [
{
name "IEC958 Playback AC97-SPSA"
device 0
lock true
preserve true
value 3
@ -202,14 +198,12 @@ ICH4.pcm.iec958.0 {
}
{
name "IEC958 Playback Default"
device 0
lock true
preserve true
value [ $AES0 $AES1 $AES2 $AES3 ]
}
{
name "IEC958 Playback Switch"
device 0
lock true
preserve true
value true