diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pulsecore/core.c | 5 | ||||
-rw-r--r-- | src/pulsecore/core.h | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/pulsecore/core.c b/src/pulsecore/core.c index 2e9d96b1..7ca2e753 100644 --- a/src/pulsecore/core.c +++ b/src/pulsecore/core.c @@ -127,8 +127,6 @@ pa_core* pa_core_new(pa_mainloop_api *m, int shared) { c->mempool = pool; - c->disallow_module_loading = 0; - c->quit_event = NULL; c->exit_idle_time = -1; @@ -138,6 +136,9 @@ pa_core* pa_core_new(pa_mainloop_api *m, int shared) { c->resample_method = PA_RESAMPLER_SRC_SINC_FASTEST; c->is_system_instance = 0; + c->disallow_module_loading = 0; + c->high_priority = 0; + for (j = 0; j < PA_CORE_HOOK_MAX; j++) pa_hook_init(&c->hooks[j], c); diff --git a/src/pulsecore/core.h b/src/pulsecore/core.h index 4d92960d..61cb47d5 100644 --- a/src/pulsecore/core.h +++ b/src/pulsecore/core.h @@ -101,16 +101,16 @@ struct pa_core { pa_mempool *mempool; - int disallow_module_loading, running_as_daemon; int exit_idle_time, module_idle_time, scache_idle_time; pa_time_event *quit_event; pa_time_event *scache_auto_unload_event; + int disallow_module_loading, running_as_daemon; pa_resample_method_t resample_method; - int is_system_instance; + int high_priority; /* hooks */ pa_hook hooks[PA_CORE_HOOK_MAX]; |