call sf_seek before main plugin loop

This commit is contained in:
Luna 2019-07-11 10:57:39 -03:00
parent 107a00593a
commit 387984bff1
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
load :0;
# eq 3 1 2 -0.3 0.7;
eq 3 1 2 -0.3 0.7;
eq 10 3 3 -0.9 2;
quicksave;

View File

@ -303,6 +303,8 @@ pub const Image = struct {
try swrite(out_file, rctx.out_buf.ptr, 1);
}
_ = c.sf_seek(self.sndfile, @intCast(i64, seek_pos.end), c.SEEK_SET);
// post-plugin copy
try self.copyBytes(
out_file,