mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
alsa: unify alsa log handling and snd_config_update_free_global() handling in one place
This commit is contained in:
parent
25e5197f6a
commit
348dcd6a31
7 changed files with 13 additions and 20 deletions
|
|
@ -287,8 +287,7 @@ int pa__init(pa_module *m) {
|
|||
const char *description;
|
||||
char *fn = NULL;
|
||||
|
||||
pa_alsa_redirect_errors_inc();
|
||||
snd_config_update_free_global();
|
||||
pa_alsa_refcnt_inc();
|
||||
|
||||
pa_assert(m);
|
||||
|
||||
|
|
@ -443,6 +442,5 @@ void pa__done(pa_module*m) {
|
|||
pa_xfree(u);
|
||||
|
||||
finish:
|
||||
snd_config_update_free_global();
|
||||
pa_alsa_redirect_errors_dec();
|
||||
pa_alsa_refcnt_dec();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue