[pulseaudio-commits] r1693 - in /branches/lennart/src/pulsecore: core.c core.h

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Tue Aug 21 17:26:45 PDT 2007


Author: lennart
Date: Wed Aug 22 02:26:43 2007
New Revision: 1693

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=3D1693&root=3Dpulseaudio&vi=
ew=3Drev
Log:
add new option to pa_core stating whether we are running as high prio proce=
ss

Modified:
    branches/lennart/src/pulsecore/core.c
    branches/lennart/src/pulsecore/core.h

Modified: branches/lennart/src/pulsecore/core.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/pulsecore/=
core.c?rev=3D1693&root=3Dpulseaudio&r1=3D1692&r2=3D1693&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/lennart/src/pulsecore/core.c (original)
+++ branches/lennart/src/pulsecore/core.c Wed Aug 22 02:26:43 2007
@@ -127,8 +127,6 @@
 =

     c->mempool =3D pool;
 =

-    c->disallow_module_loading =3D 0;
-
     c->quit_event =3D NULL;
 =

     c->exit_idle_time =3D -1;
@@ -138,6 +136,9 @@
     c->resample_method =3D PA_RESAMPLER_SRC_SINC_FASTEST;
 =

     c->is_system_instance =3D 0;
+    c->disallow_module_loading =3D 0;
+    c->high_priority =3D 0;
+
 =

     for (j =3D 0; j < PA_CORE_HOOK_MAX; j++)
         pa_hook_init(&c->hooks[j], c);

Modified: branches/lennart/src/pulsecore/core.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/pulsecore/=
core.h?rev=3D1693&root=3Dpulseaudio&r1=3D1692&r2=3D1693&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/lennart/src/pulsecore/core.h (original)
+++ branches/lennart/src/pulsecore/core.h Wed Aug 22 02:26:43 2007
@@ -101,16 +101,16 @@
 =

     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];




More information about the pulseaudio-commits mailing list