mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
store load_once flag for module
This commit is contained in:
parent
114f290be7
commit
9bfd67f70f
2 changed files with 9 additions and 4 deletions
|
|
@ -43,10 +43,12 @@ struct pa_module {
|
|||
void *userdata;
|
||||
|
||||
int n_used;
|
||||
pa_bool_t auto_unload;
|
||||
time_t last_used_time;
|
||||
|
||||
pa_bool_t unload_requested;
|
||||
pa_bool_t auto_unload:1;
|
||||
pa_bool_t load_once:1;
|
||||
pa_bool_t unload_requested:1;
|
||||
|
||||
time_t last_used_time;
|
||||
};
|
||||
|
||||
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