mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-09 13:30:03 -05:00
ucm: add support for verb variants
The bellow configuration example creates two verbs ("HiFi" and "HiFi 7+1")
with different playback channels for the "Speaker" device.
SectionUseCase."HiFi" {
File "HiFi.conf"
Variant."HiFi" {
Comment "Default"
}
Variant."HiFi 7+1" {
Comment "HiFi 7.1"
}
}
SectionDevice."Speaker" {
Value {
PlaybackChannels 2
}
Variant."HiFi 7+1".Value {
PlaybackChannels 8
}
}
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
25e44bbeb9
commit
c3a5d32ac3
2 changed files with 189 additions and 20 deletions
|
|
@ -228,6 +228,8 @@ struct snd_use_case_mgr {
|
|||
int conf_format;
|
||||
unsigned int ucm_card_number;
|
||||
int suppress_nodev_errors;
|
||||
const char *parse_variant;
|
||||
int parse_master_section;
|
||||
|
||||
/* UCM cards list */
|
||||
struct list_head cards_list;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue