From 3d372424ccb96fd2b705c9ed94e76a82ad44e113 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 21 Jul 2021 12:15:32 +0200 Subject: [PATCH] alsa: don't free alsa global info for each node Don't clear the global config or else we might lose the UCM state. See #1437 --- spa/plugins/alsa/alsa-pcm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/spa/plugins/alsa/alsa-pcm.c b/spa/plugins/alsa/alsa-pcm.c index 3dc631757..dfffcb478 100644 --- a/spa/plugins/alsa/alsa-pcm.c +++ b/spa/plugins/alsa/alsa-pcm.c @@ -20,8 +20,6 @@ int spa_alsa_init(struct state *state) { int err; - snd_config_update_free_global(); - if (state->open_ucm) { char card_name[64]; const char *alibpref = NULL;