mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
ucm: fix uc_mgr_has_local_config()
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
8e097fd14a
commit
1237905559
1 changed files with 2 additions and 1 deletions
|
|
@ -301,7 +301,8 @@ void uc_mgr_free(snd_use_case_mgr_t *uc_mgr);
|
||||||
|
|
||||||
static inline int uc_mgr_has_local_config(snd_use_case_mgr_t *uc_mgr)
|
static inline int uc_mgr_has_local_config(snd_use_case_mgr_t *uc_mgr)
|
||||||
{
|
{
|
||||||
return uc_mgr && snd_config_iterator_first(uc_mgr->local_config);
|
return uc_mgr && snd_config_iterator_first(uc_mgr->local_config) !=
|
||||||
|
snd_config_iterator_end(uc_mgr->local_config);
|
||||||
}
|
}
|
||||||
|
|
||||||
int uc_mgr_card_open(snd_use_case_mgr_t *uc_mgr);
|
int uc_mgr_card_open(snd_use_case_mgr_t *uc_mgr);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue