diff options
author | Glenn Kasten <gkasten@google.com> | 2012-08-07 10:38:59 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-08-08 14:28:42 -0700 |
commit | 0d27c65ddb5c968baa6db0c26e80f5c451bc52bc (patch) | |
tree | 62cdadd7e272d5f5f5f187767984ecb0c12b5080 /libvideoeditor/osal/inc/LVOSA_FileReader_optim.h | |
parent | e983aa4ff4d80af7702888e230b9aaa93a7b7e57 (diff) | |
download | frameworks_av-0d27c65ddb5c968baa6db0c26e80f5c451bc52bc.zip frameworks_av-0d27c65ddb5c968baa6db0c26e80f5c451bc52bc.tar.gz frameworks_av-0d27c65ddb5c968baa6db0c26e80f5c451bc52bc.tar.bz2 |
Tune the overrun correction
The new overrun correction is: if the previous write() cycle time is <
50% of expected, then sleep enough extra to make the total cycle time =
95% of expected. This should help compensate for HAL implementations
that have uneven cycle times due to sample rate conversion.
Bug: 6881638
Change-Id: I5ab58afdfceee7ac523177f021fbf62d743d571a
Diffstat (limited to 'libvideoeditor/osal/inc/LVOSA_FileReader_optim.h')
0 files changed, 0 insertions, 0 deletions