diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-08-22 00:26:43 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-08-22 00:26:43 +0000 |
commit | b3029464a4cc0348649beeeea76e459b384addd5 (patch) | |
tree | a5e9edbdbe66b3a904503d7e0d279824d54fe743 /src/pulsecore/core.c | |
parent | 35461981c68ce656b194faf30d892fa35a9ed9b7 (diff) |
add new option to pa_core stating whether we are running as high prio process
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1693 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/core.c')
-rw-r--r-- | src/pulsecore/core.c | 5 |
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); |