pulse-server: add a pipewire-pulse:list-modules message

It list all available module names, which you can then describe further.
Make a little module_info iterator function for this.
This commit is contained in:
Wim Taymans 2025-09-26 10:55:10 +02:00
parent ecac86b0ca
commit 5a894270e6
3 changed files with 25 additions and 6 deletions

View file

@ -62,6 +62,7 @@ struct module {
#define module_emit_loaded(m,r) spa_hook_list_call(&m->listener_list, struct module_events, loaded, 0, r)
#define module_emit_destroy(m) spa_hook_list_call(&(m)->listener_list, struct module_events, destroy, 0)
const struct module_info *module_info_next(struct impl *impl, const struct module_info *info);
const struct module_info *module_info_find(struct impl *impl, const char *name);
struct module *module_create(struct impl *impl, const char *name, const char *args);