[pulseaudio-commits] r2494 - /trunk/src/pulse/context.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Tue Jun 3 12:22:30 PDT 2008


Author: coling
Date: Tue Jun  3 21:22:29 2008
New Revision: 2494

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2494&root=pulseaudio&view=rev
Log:
Perfer client.conf over X11 property variables.
To explain: X11 properties are always set on the root window if pulseaudio is started
during X11 login (which is the most likey time to start it). This means that any settings
specified in client.conf will almost never be used. As the default client.conf is empty
it makes more sense to listen to it if a user cares to bother altering it.

Modified:
    trunk/src/pulse/context.c

Modified: trunk/src/pulse/context.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulse/context.c?rev=2494&root=pulseaudio&r1=2493&r2=2494&view=diff
==============================================================================
--- trunk/src/pulse/context.c (original)
+++ trunk/src/pulse/context.c Tue Jun  3 21:22:29 2008
@@ -177,10 +177,10 @@
 #endif
 
     c->conf = pa_client_conf_new();
-    pa_client_conf_load(c->conf, NULL);
 #ifdef HAVE_X11
     pa_client_conf_from_x11(c->conf, NULL);
 #endif
+    pa_client_conf_load(c->conf, NULL);
     pa_client_conf_env(c->conf);
 
     if (!(c->mempool = pa_mempool_new(!c->conf->disable_shm))) {




More information about the pulseaudio-commits mailing list