[pulseaudio-commits] r2478 - /trunk/src/modules/module-default-device-restore.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Wed May 21 15:46:22 PDT 2008


Author: lennart
Date: Thu May 22 00:46:21 2008
New Revision: 2478

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2478&root=pulseaudio&view=rev
Log:
move default device from runtime to state dir

Modified:
    trunk/src/modules/module-default-device-restore.c

Modified: trunk/src/modules/module-default-device-restore.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-default-device-restore.c?rev=2478&root=pulseaudio&r1=2477&r2=2478&view=diff
==============================================================================
--- trunk/src/modules/module-default-device-restore.c (original)
+++ trunk/src/modules/module-default-device-restore.c Thu May 22 00:46:21 2008
@@ -163,10 +163,10 @@
     u = pa_xnew0(struct userdata, 1);
     u->core = m->core;
 
-    if (!(u->sink_filename = pa_runtime_path(DEFAULT_SINK_FILE)))
+    if (!(u->sink_filename = pa_state_path(DEFAULT_SINK_FILE)))
         goto fail;
 
-    if (!(u->source_filename = pa_runtime_path(DEFAULT_SOURCE_FILE)))
+    if (!(u->source_filename = pa_state_path(DEFAULT_SOURCE_FILE)))
         goto fail;
 
     load(u);




More information about the pulseaudio-commits mailing list