[polypaudio-commits] r983 - /trunk/src/daemon/main.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Fri May 26 10:59:40 PDT 2006


Author: lennart
Date: Fri May 26 19:59:39 2006
New Revision: 983

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=983&root=polypaudio&view=rev
Log:
disable padsp for the polypaudio daemon itself by defining the __padsp_disabled__ symbol

Modified:
    trunk/src/daemon/main.c

Modified: trunk/src/daemon/main.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/daemon/main.c?rev=983&root=polypaudio&r1=982&r2=983&view=diff
==============================================================================
--- trunk/src/daemon/main.c (original)
+++ trunk/src/daemon/main.c Fri May 26 19:59:39 2006
@@ -79,6 +79,13 @@
 int deny_severity = LOG_WARNING;
 #endif
 
+#ifdef HAVE_OSS
+/* padsp looks for this symbol in the running process and disables
+ * itself if it finds it and it is set to 7 (which is actually a bit
+ * mask). For details see padsp. */
+int __padsp_disabled__ = 7;
+#endif
+
 #ifdef OS_IS_WIN32
 
 static void message_cb(pa_mainloop_api*a, pa_time_event*e, PA_GCC_UNUSED const struct timeval *tv, void *userdata) {




More information about the pulseaudio-commits mailing list