mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
acp: add debug for open and close
Debug open and close calls. Make pa_alsa_close to close the device.
This commit is contained in:
parent
34c1c1614e
commit
a9ced45d4b
5 changed files with 27 additions and 18 deletions
|
|
@ -1941,8 +1941,7 @@ static void profile_finalize_probing(pa_alsa_profile *p) {
|
|||
continue;
|
||||
|
||||
pa_alsa_init_proplist_pcm(NULL, m->output_proplist, m->output_pcm);
|
||||
snd_pcm_close(m->output_pcm);
|
||||
m->output_pcm = NULL;
|
||||
pa_alsa_close(&m->output_pcm);
|
||||
}
|
||||
|
||||
PA_IDXSET_FOREACH(m, p->input_mappings, idx) {
|
||||
|
|
@ -1953,8 +1952,7 @@ static void profile_finalize_probing(pa_alsa_profile *p) {
|
|||
continue;
|
||||
|
||||
pa_alsa_init_proplist_pcm(NULL, m->input_proplist, m->input_pcm);
|
||||
snd_pcm_close(m->input_pcm);
|
||||
m->input_pcm = NULL;
|
||||
pa_alsa_close(&m->input_pcm);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue