summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/core.c')
-rw-r--r--src/pulsecore/core.c5
1 files changed, 3 insertions, 2 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);