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:
Jaroslav Kysela 2006-10-12 14:34:23 +02:00
parent aa7a0dd70b
commit 1300e70573
20 changed files with 456 additions and 322 deletions

View file

@ -32,16 +32,26 @@ pcm.!front {
}
}
}
@func refer
name {
@func concat
strings [
"cards."
{
@func card_driver
card $CARD
}
".pcm.front." $DEV ":CARD=" $CARD
]
type empty
slave.pcm {
@func refer
name {
@func concat
strings [
"cards."
{
@func card_driver
card $CARD
}
".pcm.front." $DEV ":CARD=" $CARD
]
}
}
hint {
show {
@func refer
name defaults.namehint.basic
}
description "Front speakers"
}
}