[pulseaudio-commits] r1694 - in /branches/lennart/src/modules: module-alsa-sink.c module-alsa-source.c module-oss.c

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


Author: lennart
Date: Wed Aug 22 02:27:25 2007
New Revision: 1694

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=3D1694&root=3Dpulseaudio&vi=
ew=3Drev
Log:
check pa_core::high_priority before becoming rt thread

Modified:
    branches/lennart/src/modules/module-alsa-sink.c
    branches/lennart/src/modules/module-alsa-source.c
    branches/lennart/src/modules/module-oss.c

Modified: branches/lennart/src/modules/module-alsa-sink.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/modules/mo=
dule-alsa-sink.c?rev=3D1694&root=3Dpulseaudio&r1=3D1693&r2=3D1694&view=3Ddi=
ff
=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/modules/module-alsa-sink.c (original)
+++ branches/lennart/src/modules/module-alsa-sink.c Wed Aug 22 02:27:25 2007
@@ -527,7 +527,8 @@
 =

     pa_log_debug("Thread starting up");
 =

-    pa_make_realtime();
+    if (u->core->high_priority)
+        pa_make_realtime();
 =

     pa_thread_mq_install(&u->thread_mq);
     =


Modified: branches/lennart/src/modules/module-alsa-source.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/modules/mo=
dule-alsa-source.c?rev=3D1694&root=3Dpulseaudio&r1=3D1693&r2=3D1694&view=3D=
diff
=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/modules/module-alsa-source.c (original)
+++ branches/lennart/src/modules/module-alsa-source.c Wed Aug 22 02:27:25 2=
007
@@ -516,7 +516,8 @@
 =

     pa_log_debug("Thread starting up");
 =

-    pa_make_realtime();
+    if (u->core->high_priority)
+        pa_make_realtime();
 =

     pa_thread_mq_install(&u->thread_mq);
     =


Modified: branches/lennart/src/modules/module-oss.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/modules/mo=
dule-oss.c?rev=3D1694&root=3Dpulseaudio&r1=3D1693&r2=3D1694&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/modules/module-oss.c (original)
+++ branches/lennart/src/modules/module-oss.c Wed Aug 22 02:27:25 2007
@@ -791,7 +791,8 @@
 =

     pa_log_debug("Thread starting up");
 =

-    pa_make_realtime();
+    if (u->core->high_priority)
+        pa_make_realtime();
 =

     pa_thread_mq_install(&u->thread_mq);
 =





More information about the pulseaudio-commits mailing list