From 3efcb6847d82406604cd729030084506c20fd029 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 18 Sep 2020 16:30:02 +0200 Subject: [PATCH] alsa: mixer - reorder the type field in path parser The items array is assigned later and the order of fields is important. Signed-off-by: Jaroslav Kysela --- src/modules/alsa/alsa-mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/alsa/alsa-mixer.c b/src/modules/alsa/alsa-mixer.c index b1f6c490a..7666cf434 100644 --- a/src/modules/alsa/alsa-mixer.c +++ b/src/modules/alsa/alsa-mixer.c @@ -2781,8 +2781,8 @@ pa_alsa_path* pa_alsa_path_new(const char *paths_dir, const char *fname, pa_alsa { "priority", pa_config_parse_unsigned, NULL, "General" }, { "description-key", pa_config_parse_string, NULL, "General" }, { "description", pa_config_parse_string, NULL, "General" }, - { "type", parse_type, NULL, "General" }, { "mute-during-activation", pa_config_parse_bool, NULL, "General" }, + { "type", parse_type, NULL, "General" }, { "eld-device", parse_eld_device, NULL, "General" }, /* [Option ...] */