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; | ||||
| # eq 3 1 2 -0.3 0.7; | ||||
| eq 3 1 2 -0.3 0.7; | ||||
| eq 10 3 3 -0.9 2; | ||||
| quicksave; | ||||
|  |  | |||
|  | @ -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, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue