commit | f0ee453c23eacd1a10762b2301384ddc19821052 | [log] [tgz] |
---|---|---|
author | Erik de Castro Lopo <erikd@mega-nerd.com> | Sat Dec 12 08:23:22 2015 +1100 |
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | Sat Dec 12 08:30:29 2015 +1100 |
tree | cdb758b4bc8e4ae6577c848f8c76d4d3b116ccdf | |
parent | a51b27c0edf639e1a06903c60d079b23e9e143e3 [diff] |
Win32: Only use large buffers when writing to disk Windows can suffer quite badly from disk fragmentations. To avoid this, on Windows, the FILE* buffer size was set to 10Meg. However, this huge buffer is undesireable when writing to a eg a pipe. This patch updates the behaviour to only use the huge buffer when writing to disk. Patch-from: lvqcl <lvqcl.mail@gmail.com> Closes: https://sourceforge.net/p/flac/feature-requests/114/