summaryrefslogtreecommitdiffstats
path: root/media/libmedia/AudioRecord.cpp
diff options
context:
space:
mode:
authorSatya Krishna Pindiproli <satyak@codeaurora.org>2015-11-03 17:30:46 +0530
committerSteve Kondik <steve@cyngn.com>2015-12-19 02:46:24 -0500
commit53c13f5281032650995e1bab9ab4232c932ae654 (patch)
tree546cf3afdb1faf6e34c47e231c6ac584174f6042 /media/libmedia/AudioRecord.cpp
parenta58a4799f230632d3df4d98a3082c12c0f9fe8b0 (diff)
downloadframeworks_av-53c13f5281032650995e1bab9ab4232c932ae654.zip
frameworks_av-53c13f5281032650995e1bab9ab4232c932ae654.tar.gz
frameworks_av-53c13f5281032650995e1bab9ab4232c932ae654.tar.bz2
audioflinger: update multiplier logic to calculate frameCount
If the value of the multiplier used in calculating mNormalFrameCount is odd, it is rounded off to a higher even value. This results in an increase of mNormalFrameCount and thereby the latency which is not expected. Do not prefer an even multiplier and let the value remain as is even if it is odd. CRs-Fixed: 931454 Change-Id: Ia60d87d01caef6f45998bffeafc3d6a24f7c7fb4
Diffstat (limited to 'media/libmedia/AudioRecord.cpp')
0 files changed, 0 insertions, 0 deletions