[pulseaudio-commits] r1914 - /branches/lennart/src/daemon/main.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Fri Sep 28 05:53:18 PDT 2007


Author: lennart
Date: Fri Sep 28 14:53:17 2007
New Revision: 1914

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1914&root=pulseaudio&view=rev
Log:
use the full range of RTSIGS for our stuff

Modified:
    branches/lennart/src/daemon/main.c

Modified: branches/lennart/src/daemon/main.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/daemon/main.c?rev=1914&root=pulseaudio&r1=1913&r2=1914&view=diff
==============================================================================
--- branches/lennart/src/daemon/main.c (original)
+++ branches/lennart/src/daemon/main.c Fri Sep 28 14:53:17 2007
@@ -327,7 +327,7 @@
     struct timeval tv;
 #endif
 
-    
+
 #if defined(__linux__) && defined(__OPTIMIZE__)
     /*
        Disable lazy relocations to make usage of external libraries
@@ -343,7 +343,7 @@
         pa_assert_se(execv("/proc/self/exe", argv) == 0);
     }
 #endif
-    
+
 #ifdef HAVE_GETUID
     real_root = getuid() == 0;
     suid_root = !real_root && geteuid() == 0;
@@ -440,10 +440,10 @@
             for (i = 0; i < PA_RESAMPLER_MAX; i++)
                 if (pa_resample_method_supported(i))
                     printf("%s\n", pa_resample_method_to_string(i));
-                       
-            goto finish;
-        }
-            
+
+            goto finish;
+        }
+
         case PA_CMD_HELP :
             pa_cmdline_help(argv[0]);
             retval = 0;
@@ -482,7 +482,7 @@
                 retval = 0;
 
             goto finish;
-            
+
         default:
             pa_assert(conf->cmd == PA_CMD_DAEMON);
     }
@@ -608,13 +608,13 @@
 #endif
 
     pa_log_info("Page size is %lu bytes", (unsigned long) PA_PAGE_SIZE);
-    
+
     if (pa_rtclock_hrtimer())
         pa_log_info("Fresh high-resolution timers available! Bon appetit!");
     else
         pa_log_info("Dude, your kernel stinks! The chef's recommendation today is Linux with high-resolution timers enabled!");
-    
-    pa_rtsig_configure(SIGRTMIN+10, SIGRTMAX);
+
+    pa_rtsig_configure(SIGRTMIN, SIGRTMAX);
 
     pa_assert_se(mainloop = pa_mainloop_new());
 
@@ -659,7 +659,7 @@
 
     if (!conf->no_cpu_limit)
         pa_assert_se(pa_cpu_limit_init(pa_mainloop_get_api(mainloop)) == 0);
-    
+
     buf = pa_strbuf_new();
     if (conf->default_script_file)
         r = pa_cli_command_execute_file(c, conf->default_script_file, buf, &conf->fail);
@@ -736,6 +736,6 @@
 #ifdef HAVE_DBUS
     dbus_shutdown();
 #endif
-    
+
     return retval;
 }




More information about the pulseaudio-commits mailing list