diff options
author | Dhananjay Kumar <dhakumar@codeaurora.org> | 2017-01-16 20:21:00 +0530 |
---|---|---|
committer | Dhananjay Kumar <dhakumar@codeaurora.org> | 2017-01-16 20:49:01 +0530 |
commit | 14245984e7137b437c438bf3ee5fef5d03152a4f (patch) | |
tree | a269f68f6daaf3771eb7d26b7b0e076206c69e8c /visualizer/offload_visualizer.c | |
parent | 284a7f4446f2a863cab443996886d53af8ea377c (diff) |
hal: fix segfalut from call to send audio calibration
- In case of speaker protection, capture usecase is not having
valid input stream associated with it. Hence attempt to access
stream info while sending calibration may result in segfaults.
- Add check in send calibration, to use stream info only if its
available, and fallback to defaults if stream is not set.
Change-Id: I880f8c66e6cba65947846dd2fef74a74be125aa9
Diffstat (limited to 'visualizer/offload_visualizer.c')
0 files changed, 0 insertions, 0 deletions