mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
acp: fix UCM off profile
This commit is contained in:
parent
69be14186e
commit
cfdd6cab20
3 changed files with 8 additions and 6 deletions
|
|
@ -1337,9 +1337,8 @@ int pa_alsa_ucm_set_profile(pa_alsa_ucm_config *ucm, pa_card *card, const char *
|
|||
|
||||
/* change verb */
|
||||
pa_log_info("Set UCM verb to %s", profile);
|
||||
if ((snd_use_case_set(ucm->ucm_mgr, "_verb", profile)) < 0) {
|
||||
pa_log("Failed to set verb %s", profile);
|
||||
ret = -1;
|
||||
if ((ret = snd_use_case_set(ucm->ucm_mgr, "_verb", profile)) < 0) {
|
||||
pa_log("Failed to set verb %s: %s", profile, snd_strerror(ret));
|
||||
}
|
||||
|
||||
/* find active verb */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue