changeset 648:0eca44731221 trunk

[svn] - fix timing on fades
author nenolod
date Wed, 14 Feb 2007 01:43:35 -0800
parents f684905cf688
children 6883d9c21c2f
files ChangeLog src/console/Audacious_Driver.cxx
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Feb 13 22:58:09 2007 -0800
+++ b/ChangeLog	Wed Feb 14 01:43:35 2007 -0800
@@ -1,3 +1,11 @@
+2007-02-14 06:58:09 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [1380]
+  - add mms:// as a streaming scheme.
+  
+  trunk/src/xspf/xspf.c |   19 +++++++++++--------
+  1 file changed, 11 insertions(+), 8 deletions(-)
+
+
 2007-02-14 06:54:57 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [1378]
   - screening by extension had not worked.
--- a/src/console/Audacious_Driver.cxx	Tue Feb 13 22:58:09 2007 -0800
+++ b/src/console/Audacious_Driver.cxx	Wed Feb 14 01:43:35 2007 -0800
@@ -371,7 +371,7 @@
 	if ( length <= 0 )
 		length = audcfg.loop_length * 1000;
 	if ( length >= fade_threshold + fade_length )
-		length -= fade_length;
+		length -= fade_length / 2;
 	fh.emu->set_fade( length, fade_length );
 	
 	// take ownership of emu