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
This commit is contained in:
Lennart Poettering 2007-08-22 00:26:43 +00:00
parent 35461981c6
commit b3029464a4
2 changed files with 5 additions and 4 deletions

View file

@ -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);