module/alsa: export module info through the new module_info struct type

This commit is contained in:
Daniel Eklöf 2019-01-12 11:53:55 +01:00
parent eaf061ee57
commit e536391df6
4 changed files with 44 additions and 20 deletions

View file

@ -603,7 +603,7 @@ conf_to_bar(const struct yml_node *bar)
else if (strcmp(mod_name, "removables") == 0)
mods[idx] = module_removables_from_config(m.value, font);
else if (strcmp(mod_name, "alsa") == 0)
mods[idx] = module_alsa_from_config(m.value, font);
mods[idx] = module_alsa.from_conf(m.value, font);
else
assert(false);
}