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 @@ VIA8233A.pcm.front.0 {
|
|||
}
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
}
|
||||
|
||||
# default with dmix/dsnoop
|
||||
|
|
@ -48,7 +47,6 @@ VIA8233A.pcm.surround40.0 {
|
|||
slave.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
channels 4
|
||||
}
|
||||
hooks.0 {
|
||||
|
|
@ -56,7 +54,6 @@ VIA8233A.pcm.surround40.0 {
|
|||
hook_args [
|
||||
{
|
||||
name "Swap Surround Slot"
|
||||
device 0
|
||||
lock true
|
||||
preserve true
|
||||
value false
|
||||
|
|
@ -100,7 +97,6 @@ VIA8233A.pcm.surround51.0 {
|
|||
slave.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
channels 6
|
||||
}
|
||||
hooks.0 {
|
||||
|
|
@ -108,7 +104,6 @@ VIA8233A.pcm.surround51.0 {
|
|||
hook_args [
|
||||
{
|
||||
name "Swap Surround Slot"
|
||||
device 0
|
||||
lock true
|
||||
preserve true
|
||||
value true
|
||||
|
|
@ -182,28 +177,24 @@ VIA8233A.pcm.iec958.0 {
|
|||
hook_args [
|
||||
{
|
||||
name "IEC958 Playback AC97-SPSA"
|
||||
device 0
|
||||
lock true
|
||||
preserve true
|
||||
value 3
|
||||
}
|
||||
{
|
||||
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
|
||||
}
|
||||
{
|
||||
name "IEC958 Output Switch"
|
||||
device 0
|
||||
lock true
|
||||
preserve true
|
||||
value true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue