mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
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:
parent
35461981c6
commit
b3029464a4
2 changed files with 5 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue