diff options
| author | 2009-11-09 23:32:22 -0800 | |
|---|---|---|
| committer | 2009-11-11 12:13:27 -0800 | |
| commit | 059b4be2a5a5b3fd410f8263e5f5928689c97af7 (patch) | |
| tree | 6363048e00350303104d48e0c5f0bad36c13ad90 /libs/rs/rsObjectBase.cpp | |
| parent | b9c40a65c7fb2121d3076a522248574162bf5f8c (diff) | |
Improvements for issue 2197683: English IME key-press latency is noticeably higher on passion than sholes
This change goes with a kernel driver change that reduces the audio buffer size from 4800 bytes (~27ms) to 3072 bytes (~17ms).
- The AudioFlinger modifcations in change 0bca68cfff161abbc992fec82dc7c88079dd1a36 have been removed: the short sleep period was counter productive when the AudioTrack is using the call back thread as it causes to many preemptions.
- AudioFlinger mixer thread now detects long standby exit time and in this case anticipates start by writing 0s as soon as a track is enabled even if not ready for mixing.
- AudioTrack::start() is modified to start call back thread before starting the IAudioTrack so that thread startup time is masked by IAudioTrack start and mixer thread wakeup time.
Diffstat (limited to 'libs/rs/rsObjectBase.cpp')
0 files changed, 0 insertions, 0 deletions