[Xfce4-commits] <parole:master> Reduce fade-out-on-exit from 4sec to 1.5sec

Simon Steinbeiss noreply at xfce.org
Mon Jul 23 01:24:29 CEST 2012


Updating branch refs/heads/master
         to d1c58c9e88ff81dba4ca0acd2e4f121f31a6df52 (commit)
       from 6dd5ebc25a6e7bb05c08929243b08d94c5951526 (commit)

commit d1c58c9e88ff81dba4ca0acd2e4f121f31a6df52
Author: Simon Steinbeiss <ochosi at xfce.org>
Date:   Fri Jul 13 14:39:23 2012 +0200

    Reduce fade-out-on-exit from 4sec to 1.5sec

 gst/parole-gst.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gst/parole-gst.c b/gst/parole-gst.c
index 4b519c3..f8a7e56 100644
--- a/gst/parole-gst.c
+++ b/gst/parole-gst.c
@@ -1531,7 +1531,7 @@ parole_gst_terminate_internal (ParoleGst *gst, gboolean fade_sound)
 	gdouble step;
 	volume = parole_gst_get_volume (gst);
 	/*
-	 * Like amarok, reduce the sound slowley then exit.
+	 * Fade-out on exit.
 	 */
 	if ( volume != 0 )
 	{
@@ -1540,7 +1540,7 @@ parole_gst_terminate_internal (ParoleGst *gst, gboolean fade_sound)
 		step = volume - volume / 10;
 		parole_gst_set_volume (gst, step < 0.01 ? 0 : step);
 		volume = parole_gst_get_volume (gst);
-		g_usleep (40000); // FIXME: isn't 4sec a bit long?
+		g_usleep (15000);
 	    }
 	}
     }


More information about the Xfce4-commits mailing list