image: bump BufferSize
This commit is contained in:
parent
99382d0a66
commit
c0269ead20
1 changed files with 4 additions and 3 deletions
|
@ -5,11 +5,11 @@ const custom = @import("custom.zig");
|
|||
|
||||
const plugins = @import("plugin.zig");
|
||||
|
||||
/// Approximate size of the BMP header.
|
||||
/// Approximate size of the BMP header, in bytes.
|
||||
pub const BMPHeaderSize: usize = 82000;
|
||||
|
||||
/// Buffer size for main copying
|
||||
pub const BufferSize: usize = 60000;
|
||||
/// Buffer size for main image copying.
|
||||
pub const BufferSize: usize = 300000;
|
||||
|
||||
pub const ImageError = error{
|
||||
OpenFail,
|
||||
|
@ -176,6 +176,7 @@ pub const Image = struct {
|
|||
return n_read == 1;
|
||||
}
|
||||
|
||||
/// Copy bytes from the current file to out_file.
|
||||
fn copyBytes(
|
||||
self: *Image,
|
||||
out_file: *c.SNDFILE,
|
||||
|
|
Loading…
Reference in a new issue