call sf_seek before main plugin loop
This commit is contained in:
parent
107a00593a
commit
387984bff1
2 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
load :0;
|
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;
|
eq 10 3 3 -0.9 2;
|
||||||
quicksave;
|
quicksave;
|
||||||
|
|
|
@ -303,6 +303,8 @@ pub const Image = struct {
|
||||||
try swrite(out_file, rctx.out_buf.ptr, 1);
|
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
|
// post-plugin copy
|
||||||
try self.copyBytes(
|
try self.copyBytes(
|
||||||
out_file,
|
out_file,
|
||||||
|
|
Loading…
Reference in a new issue