diff options
author | Eric Laurent <elaurent@google.com> | 2015-09-09 12:25:51 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2015-09-10 10:31:27 -0700 |
commit | a2ab4505c807f42afe34809409c4e85d91618a8c (patch) | |
tree | cffdeb827eb93870aa692b8a9d3a0842ff8405de /services/audioflinger/FastCapture.cpp | |
parent | 0f05031545e43c8fe49a9dda0cfd9dce202d1ef3 (diff) | |
download | frameworks_av-a2ab4505c807f42afe34809409c4e85d91618a8c.zip frameworks_av-a2ab4505c807f42afe34809409c4e85d91618a8c.tar.gz frameworks_av-a2ab4505c807f42afe34809409c4e85d91618a8c.tar.bz2 |
audio flinger: force audio path start from normal mixer
The audio HAL wakes up and configures the audio path when receiving
the first write() in standby state. This causes a certain amount of
process to take place in the mixer threads which is problematic for
fast mixer running at FIFO priority.
We now force a fake write() of 0 bytes from normal mixer to trigger
the audio path configuration before starting the fast mixer.
Bug: 23791972.
Change-Id: I54311b337fda956444846f5d2f53a3263d54e04b
Diffstat (limited to 'services/audioflinger/FastCapture.cpp')
0 files changed, 0 insertions, 0 deletions