2012-02-29, 10:16
@paolov74:
mark I of my HD audio patch didn't go into great length of calculating the true audio frame duration. This lead to severe sync issues with certain setups. Mark II (the current patch code) tries to calculate the audio frame duration and succeeds in doing so with audio formats which exhibit non-varying frame sizes (i.e. DTS). In case of Dolby TrueHD (with varying sizes of packed frames) it can do no better than give an educated guess which is good enough to fix audio stutter on most setups. The ultimate fix - possibly mark III - is a hard one: it requires an on-the-fly fake decode of packed audio up to the point that the true number of resulting audio samples and thus the exact audio frame duration can be derived. This is nothing that will happen tomorrow (to say the least).
mark I of my HD audio patch didn't go into great length of calculating the true audio frame duration. This lead to severe sync issues with certain setups. Mark II (the current patch code) tries to calculate the audio frame duration and succeeds in doing so with audio formats which exhibit non-varying frame sizes (i.e. DTS). In case of Dolby TrueHD (with varying sizes of packed frames) it can do no better than give an educated guess which is good enough to fix audio stutter on most setups. The ultimate fix - possibly mark III - is a hard one: it requires an on-the-fly fake decode of packed audio up to the point that the true number of resulting audio samples and thus the exact audio frame duration can be derived. This is nothing that will happen tomorrow (to say the least).