summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2011-12-22 16:08:41 -0800
committerEric Laurent <elaurent@google.com>2011-12-22 16:08:41 -0800
commit72dafb20e036b8844775e3456e5d06a8a8a2cd50 (patch)
tree88d825ec88c2475b0d36617545f6f20bbdfaa1fd /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc892e177c4f7a41e910c70f68d4e213589da1396 (diff)
audioflinger: fix clicks on 48kHz audio.
The calculation done in prepareTracks_l() for the minimum amount off frames needed to mix one output buffer had 2 issues: - the additional sample needed for interpolation was not included - the fact that the resampler does not acknowledge the frames consumed immediately after each mixing round but only once all frames requested have been used was not taken into account. Thus the number of frames available in track buffer could be considered sufficient although it was not and the resampler would abort producing a short silence perceived as a click. Issue 5727099. Change-Id: I7419847a7474c7d9f9170bedd0a636132262142c
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions