View Single Post
  #31  
Old 2005-07-14, 01:31 PM
ssamadhi97's Avatar
ssamadhi97 ssamadhi97 is offline
meow.
 
Join Date: Nov 2004
Location: Old Europe
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.
Reply With Quote Reply with Nested Quotes