Mercurial > audlegacy-plugins
diff src/xsf/plugin.c @ 2962:89d29615390d
Make EOF work.
| author | William Pitcock <nenolod@atheme.org> |
|---|---|
| date | Thu, 16 Oct 2008 14:47:55 -0500 |
| parents | 70b0973e7b70 |
| children | 629d5494c8f1 |
line wrap: on
line diff
--- a/src/xsf/plugin.c Thu Oct 16 14:45:41 2008 -0500 +++ b/src/xsf/plugin.c Thu Oct 16 14:47:55 2008 -0500 @@ -140,7 +140,7 @@ xsf_gen(samples, seglen); xsf_update(samples, seglen * 4, data); - if (data->output->written_time() > length) + if (data->output->written_time() > (length / 1000)) data->eof = TRUE; }
