mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
make autoload list use idxset
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@262 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
f252edb794
commit
1bcec3ef5b
11 changed files with 205 additions and 44 deletions
|
|
@ -26,15 +26,20 @@
|
|||
|
||||
struct pa_autoload_entry {
|
||||
struct pa_core *core;
|
||||
uint32_t index;
|
||||
char *name;
|
||||
enum pa_namereg_type type;
|
||||
int in_action;
|
||||
char *module, *argument;
|
||||
};
|
||||
|
||||
int 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(struct pa_core *c, const char*name, enum pa_namereg_type type, const char*module, const char *argument, uint32_t *index);
|
||||
void pa_autoload_free(struct pa_core *c);
|
||||
int pa_autoload_remove(struct pa_core *c, const char*name, enum pa_namereg_type type);
|
||||
int pa_autoload_remove_by_name(struct pa_core *c, const char*name, enum pa_namereg_type type);
|
||||
int pa_autoload_remove_by_index(struct pa_core *c, uint32_t index);
|
||||
void pa_autoload_request(struct pa_core *c, const char *name, enum pa_namereg_type type);
|
||||
|
||||
const struct pa_autoload_entry* pa_autoload_get_by_name(struct pa_core *c, const char*name, enum pa_namereg_type type);
|
||||
const struct pa_autoload_entry* pa_autoload_get_by_index(struct pa_core *c, uint32_t index);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue