Displaying 2 results from an estimated 2 matches for "d66f675".
Did you mean:
866675
2015 Dec 10
5
Windows file buffering
...stream data to
> other processes for whatever reasons).
>
> I don't claim that FLAC doesn't do buffering, as the OP described, just
> that this commit is unlikely to be the cause.
Maybe you mean some other commit? For example,
<http://git.xiph.org/?p=flac.git;a=commitdiff;h=d66f6754bf94bc8ba23d3579d0b5650cd380c9f0> ?
Because setvbuf() should definitely change libFLAC behaviour regardless of files/pipes/etc.
The attached patch *should* resolve the issue. libFLAC will call setvbuf(file, ...)
only if GetFileType(...file...) == FILE_TYPE_DISK.
-------------- next part ------...
2015 Dec 10
0
Windows file buffering
...processes for whatever reasons).
>>
>> I don't claim that FLAC doesn't do buffering, as the OP described, just
>> that this commit is unlikely to be the cause.
>
> Maybe you mean some other commit? For example,
> <http://git.xiph.org/?p=flac.git;a=commitdiff;h=d66f6754bf94bc8ba23d3579d0b5650cd380c9f0> ?
Yes, that is exactly what i meant.
>
> The attached patch *should* resolve the issue. libFLAC will call setvbuf(file, ...)
> only if GetFileType(...file...) == FILE_TYPE_DISK.
That patch looks correct. That said, i'm not sure why there's se...