mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-10 04:27:43 -05:00
ucm: initial implementation for cdev/cset
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
c0469e2a28
commit
7d3de218ce
3 changed files with 193 additions and 13 deletions
|
|
@ -220,6 +220,12 @@ void uc_mgr_free_verb(snd_use_case_mgr_t *uc_mgr)
|
|||
uc_mgr->active_verb = NULL;
|
||||
INIT_LIST_HEAD(&uc_mgr->active_devices);
|
||||
INIT_LIST_HEAD(&uc_mgr->active_modifiers);
|
||||
if (uc_mgr->ctl != NULL) {
|
||||
snd_ctl_close(uc_mgr->ctl);
|
||||
uc_mgr->ctl = NULL;
|
||||
}
|
||||
free(uc_mgr->ctl_dev);
|
||||
uc_mgr->ctl_dev = NULL;
|
||||
}
|
||||
|
||||
void uc_mgr_free(snd_use_case_mgr_t *uc_mgr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue