mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
ucm: save the whole ctl info to the ctl_list structure
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
0dd89f3892
commit
d8dfe4dac7
4 changed files with 47 additions and 37 deletions
|
|
@ -114,8 +114,8 @@ struct ctl_dev {
|
|||
struct ctl_list {
|
||||
struct list_head list;
|
||||
struct list_head dev_list;
|
||||
char *ctl_id;
|
||||
snd_ctl_t *ctl;
|
||||
snd_ctl_card_info_t *ctl_info;
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
@ -205,8 +205,6 @@ struct use_case_verb {
|
|||
*/
|
||||
struct snd_use_case_mgr {
|
||||
char *card_name;
|
||||
char card_short_name[MAX_CARD_SHORT_NAME];
|
||||
char card_long_name[MAX_CARD_LONG_NAME];
|
||||
char conf_file_name[MAX_CARD_LONG_NAME];
|
||||
char *comment;
|
||||
int conf_format;
|
||||
|
|
@ -264,6 +262,7 @@ int uc_mgr_open_ctl(snd_use_case_mgr_t *uc_mgr,
|
|||
snd_ctl_t **ctl,
|
||||
const char *device);
|
||||
|
||||
struct ctl_list *uc_mgr_get_one_ctl(snd_use_case_mgr_t *uc_mgr);
|
||||
void uc_mgr_free_ctl_list(snd_use_case_mgr_t *uc_mgr);
|
||||
|
||||
/** The name of the environment variable containing the UCM directory */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue