commit | 70d257e198542e99400b5712b7aac78b82176d4e | [log] [tgz] |
---|---|---|
author | Keun-young Park <keunyoung@google.com> | Thu Dec 03 10:26:37 2015 -0800 |
committer | Keun-young Park <keunyoung@google.com> | Thu Dec 03 19:00:45 2015 +0000 |
tree | 38e68b5bd1c61a79a29fd1d5d798aa38de249c81 | |
parent | aaeffaff85979583b1826db759b5cdb6184559d5 [diff] |
add back wait_for_stream_focus to C API - audio HAL needs to wait for focus for short time regardless bigger timeout to prevent SurfaceFlinger from trying write too often. - That can lead into burning CPU (for returning 0) or throwing away too quickly (for returning full size and throwing away) bug: 25330290 (cherry picked from commit 10b4aa159e8366fe724e997bf6b0b242980f2e09) Change-Id: Icc5c41dd241d77dd5b814da43323efa5fdcec14c