search for: 6f46d78

Displaying 1 result from an estimated 1 matches for "6f46d78".

Did you mean: 6f3d78
2014 Sep 23
4
Disk fragmentation
...fragments per file and decode speeds were as good as without fragmentation. I don't know how big issue this is in *nix environments but added buffering would definitely be a nice change for the Windows frontend. diff --git a/src/libFLAC/stream_encoder.c b/src/libFLAC/stream_encoder.c index 6f46d78..bd95634 100644 --- a/src/libFLAC/stream_encoder.c +++ b/src/libFLAC/stream_encoder.c @@ -1288,6 +1288,8 @@ static FLAC__StreamEncoderInitStatus init_FILE_internal_( if(file == stdout) file = get_binary_stdout_(); /* just to be safe */ + setvbuf(file, NULL, _IOFBF, 10*1024*1024...