diff options
author | Sudheer Papothi <spapothi@codeaurora.org> | 2016-08-16 02:36:18 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-08-18 07:26:26 -0700 |
commit | 80266989b1b7a9b635a8b393aab8d94ab8af988e (patch) | |
tree | 0cf8bfe8934157f2f75fe7021b78effc51184b5d /visualizer/offload_visualizer.c | |
parent | 493f2895a76f6430051897202abc7525a3e1ca65 (diff) |
hal: Add perf lock only during device switch
Existing Audio HAL acquires perf lock during device switch
for every Android Policy manager routing request without
checking for device switch. Acquire perf lock only when
there is actual device switch and avoid redundant acquiring
of perf locks for every routing request.
Change-Id: If81dde9f2bc5e6553dca1145b5966098712d65db
Diffstat (limited to 'visualizer/offload_visualizer.c')
0 files changed, 0 insertions, 0 deletions