Re: SBE fix gives different result with shntool & flac front-end?
indeed.. more precisely it clears "half as much of the buffer as it should" because it incorrectly assumes that input_ bps = bps of the input file (16) while the actual bps of the input_ buffer is 32
so in my case it cleared the first 392 / 2 = 196 samples of the 2048 sample input buffer instead of 392 samples - note that (bps >> 3) is the same as (bps / 8),
samples 196-391 (and onwards to sample number 2047) of the input buffer remain from the previously read block of samples.
No members have liked this post.
|