mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-27 07:00:09 -05:00
more name hint interace updates
- add long card name to device description - create empty PCM plugin to allow right hint description parsing - reorder devices in alsa.conf - make namehint more configurable (using default.namehint.showall switch) - add two levels basic and exteded for hints to default configuration files - do not show direct device aliases - removed all known memory leaks
This commit is contained in:
parent
aa7a0dd70b
commit
1300e70573
20 changed files with 456 additions and 322 deletions
|
|
@ -32,16 +32,26 @@ pcm.!center_lfe {
|
|||
}
|
||||
}
|
||||
}
|
||||
@func refer
|
||||
name {
|
||||
@func concat
|
||||
strings [
|
||||
"cards."
|
||||
{
|
||||
@func card_driver
|
||||
card $CARD
|
||||
}
|
||||
".pcm.center_lfe." $DEV ":CARD=" $CARD
|
||||
]
|
||||
type empty
|
||||
slave.pcm {
|
||||
@func refer
|
||||
name {
|
||||
@func concat
|
||||
strings [
|
||||
"cards."
|
||||
{
|
||||
@func card_driver
|
||||
card $CARD
|
||||
}
|
||||
".pcm.center_lfe." $DEV ":CARD=" $CARD
|
||||
]
|
||||
}
|
||||
}
|
||||
hint {
|
||||
show {
|
||||
@func refer
|
||||
name defaults.namehint.basic
|
||||
}
|
||||
description "Center and Subwoofer speakers"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue