mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
make module-combine autoloadable
clean up cli language introduce lazy sample cache git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@201 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
6e019795bf
commit
935826f4f3
18 changed files with 282 additions and 133 deletions
|
|
@ -27,10 +27,13 @@
|
|||
struct pa_autoload_entry {
|
||||
char *name;
|
||||
enum pa_namereg_type type;
|
||||
char *module, *argument;
|
||||
int in_action;
|
||||
char *module, *argument; /* for module autoloading */
|
||||
char *filename; /* for sample autoloading */
|
||||
};
|
||||
|
||||
void pa_autoload_add(struct pa_core *c, const char*name, enum pa_namereg_type type, const char*module, const char *argument);
|
||||
int pa_autoload_add_module(struct pa_core *c, const char*name, enum pa_namereg_type type, const char*module, const char *argument);
|
||||
int pa_autoload_add_sample(struct pa_core *c, const char*name, enum pa_namereg_type type, const char*filename);
|
||||
void pa_autoload_free(struct pa_core *c);
|
||||
int pa_autoload_remove(struct pa_core *c, const char*name, enum pa_namereg_type type);
|
||||
void pa_autoload_request(struct pa_core *c, const char *name, enum pa_namereg_type type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue