]> code.delx.au - pulseaudio/commitdiff
disable padsp for the polypaudio daemon itself by defining the __padsp_disabled__...
authorLennart Poettering <lennart@poettering.net>
Fri, 26 May 2006 17:59:39 +0000 (17:59 +0000)
committerLennart Poettering <lennart@poettering.net>
Fri, 26 May 2006 17:59:39 +0000 (17:59 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@983 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/daemon/main.c

index b88f932c3981e95de4689e885fbe0d80d0f48f87..16cc0f5ed541f567a7be4d63ae7302ca3623c0d9 100644 (file)
@@ -79,6 +79,13 @@ int allow_severity = LOG_INFO;
 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) {