mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
allow setting properties for modules, too
This commit is contained in:
parent
fe703013ad
commit
b43a45d184
9 changed files with 61 additions and 9 deletions
|
|
@ -27,8 +27,9 @@
|
|||
|
||||
typedef struct pa_module pa_module;
|
||||
|
||||
#include <pulse/proplist.h>
|
||||
|
||||
#include <pulsecore/core.h>
|
||||
#include <pulsecore/modinfo.h>
|
||||
|
||||
struct pa_module {
|
||||
pa_core *core;
|
||||
|
|
@ -45,6 +46,8 @@ struct pa_module {
|
|||
|
||||
pa_bool_t load_once:1;
|
||||
pa_bool_t unload_requested:1;
|
||||
|
||||
pa_proplist *proplist;
|
||||
};
|
||||
|
||||
pa_module* pa_module_load(pa_core *c, const char *name, const char*argument);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue