summaryrefslogtreecommitdiffstats
path: root/drm/libdrmframework/DrmManagerClient.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-05-14 12:26:02 -0700
committerGlenn Kasten <gkasten@google.com>2012-05-14 12:28:12 -0700
commit4adcede0dc54a85c31abaf139921aebd7a072d8e (patch)
tree329681d4effaa4c3795d9567cb2279ae873758bb /drm/libdrmframework/DrmManagerClient.cpp
parent09474df67278c0cd621b57c4aef1deaec4d8447f (diff)
downloadframeworks_av-4adcede0dc54a85c31abaf139921aebd7a072d8e.zip
frameworks_av-4adcede0dc54a85c31abaf139921aebd7a072d8e.tar.gz
frameworks_av-4adcede0dc54a85c31abaf139921aebd7a072d8e.tar.bz2
Reduce video frame drop rate
The video playback engine depends on having relatively precise audio progress updates for its A/V sync and frame drop calculations. For small audio HAL buffer sizes, this was not a problem, but when the HAL buffer size was > 12 ms, the normal mix buffer size became > 24 ms and this then caused video problems. The new formula tries to keep the normal mix buffer size within a closer tolerance of 20 ms to 24 ms. Also use consistent term: multiplier instead of multiple. Bug: 6479613 Change-Id: I903bad74461908e8c8f0a61e99ab5e24d5c44433
Diffstat (limited to 'drm/libdrmframework/DrmManagerClient.cpp')
0 files changed, 0 insertions, 0 deletions