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
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue