Mercurial > audlegacy-plugins
diff src/sexypsf/plugin.c @ 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 |
line wrap: on
line diff
--- 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();