Postby aregee » 27 Nov 2013 08:04
My first impression was that there was an initial buffer underrun at the beginning of every song. It is not, since I noticed that the bug on some song kept coming back and also lasting for a long time. Buffer underrun bugs is usually random in nature. This bug is not random, the cut-offs happen at the exact same places in the songs all the time.
Then I started noticing something interesting: The sound seems to cut off when it reaches below a certain threshold level, like the audio is put through a gate or a dynamic processor or something. But that is not correct either since the tempo of the song changes at each cutoff, meaning that some information is lost somehow causing the song to be compressed in time.
Knowing the FLAC format pretty well I will guess that the error lays in the processing of subframes, maybe skipping one of SUBFRAME_CONSTANT, SUBFRAME_FIXED, SUBFRAME_LPC or SUBFRAME_VERBATIM either entirely or depending of some weird condition causes this effect. Whichever it is, it has to be a subframe type that is less common over all in a song, but more common if the volume goes down. (Might be a bug within SUBFRAME_LPC too.)
EDIT: forget this post, seems this bug is fixed in the latest beta. Seemed to be a bug that caused a sync loss, which also would explain the loss of audio.
EDIT2: and when I say beta, I mean nightly build.