[Xfce4-commits] <parole:master> Reduce fade-out-on-exit from 4sec to 1.5sec
Christoph Mende
noreply at xfce.org
Mon Jul 23 01:25:37 CEST 2012
Updating branch refs/heads/master
to 300db3a1dbac06b0bc9d29de01e3b78fa15c1877 (commit)
from 8b97d255332df3eba9a270d2d2630fc2d6e1106b (commit)
commit 300db3a1dbac06b0bc9d29de01e3b78fa15c1877
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