mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
acp: update pcm proplist for UCM as well
Update the properties we get from the pcm handle right before we close the handle. Also set properties on the UCM devices. See #524
This commit is contained in:
parent
24c7f45118
commit
b3f8a4b99b
2 changed files with 4 additions and 2 deletions
|
|
@ -1905,6 +1905,7 @@ static void profile_finalize_probing(pa_alsa_profile *p) {
|
|||
if (!m->output_pcm)
|
||||
continue;
|
||||
|
||||
pa_alsa_init_proplist_pcm(NULL, m->output_proplist, m->output_pcm);
|
||||
snd_pcm_close(m->output_pcm);
|
||||
m->output_pcm = NULL;
|
||||
}
|
||||
|
|
@ -1916,6 +1917,7 @@ static void profile_finalize_probing(pa_alsa_profile *p) {
|
|||
if (!m->input_pcm)
|
||||
continue;
|
||||
|
||||
pa_alsa_init_proplist_pcm(NULL, m->input_proplist, m->input_pcm);
|
||||
snd_pcm_close(m->input_pcm);
|
||||
m->input_pcm = NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue