changeset 1204:e9f10dac2f63

Fixed bug (no fadeout was applied at the end of a file)
author mf0102 <0102@gmx.at>
date Tue, 03 Jul 2007 12:15:45 +0200
parents 6eef4486e481
children c39a61e6a276
files AUTHORS src/sexypsf/plugin.c
diffstat 2 files changed, 17 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/AUTHORS	Mon Jul 02 23:02:43 2007 +0200
+++ b/AUTHORS	Tue Jul 03 12:15:45 2007 +0200
@@ -4,6 +4,7 @@
 --------------------------------------------
 
 George Averill <nhjm449@gmail.com>
+Michael Färber <0102@gmx.at>
 Giacomo Lozito <james@develia.org>
 William Pitcock <nenolod@nenolod.net>
 Derek Pomery <nemo@m8y.org>
@@ -24,7 +25,7 @@
 Greek              - Kouzinopoulos Haris
                      Stavros Giannouris
                      Stathis Kamperis
-Italian		   - Diego Petteno
+Italian            - Diego Petteno
 Japanese           - Dai
 
 -
@@ -91,7 +92,7 @@
 Japanese             - Takeshi Aihana <aihana@gnome.gr.jp>
 Korean               - DongCheon Park <dcpark@kaist.ac.kr>
 Lithuanian           - Rimas Kudelis <rq@akl.lt>
-Macedonian 	     - Arangel Angov <ufo@linux.net.mk>
+Macedonian           - Arangel Angov <ufo@linux.net.mk>
 Polish               - Jacek Wolszczak <shutdownrunner@o2.pl>
 Romanian             - Liviu Danicel <liviu.danicel@spymac.com>
 Russian              - Pavlo Bohmat <bohm@ukr.net>
--- a/src/sexypsf/plugin.c	Mon Jul 02 23:02:43 2007 +0200
+++ b/src/sexypsf/plugin.c	Tue Jul 03 12:15:45 2007 +0200
@@ -75,10 +75,10 @@
     if (seek)
     {
         if(sexypsf_seek(seek))
-		{
+        {
             playback->output->flush(seek);
-			seek = 0;
-		}
+            seek = 0;
+        }
         else  // negative time - must make a C time machine
         {
             sexypsf_stop();
@@ -103,17 +103,18 @@
         if (stop)
             break;
 
-		if (seek)
-		{
-			playback->output->flush(seek);
-			if(!(PSFInfo = sexypsf_load(fnsave)))
-				break;
-			sexypsf_seek(seek); 
-			seek = 0;
-			continue;
-		}
+        if (seek)
+        {
+            playback->output->flush(seek);
+            if(!(PSFInfo = sexypsf_load(fnsave)))
+                break;
+            sexypsf_seek(seek); 
+            seek = 0;
+            continue;
+        }
 
-		break;
+        sleep(2);
+        break;
     }
 
     playback->output->close_audio();