Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 14245984 authored by Dhananjay Kumar's avatar Dhananjay Kumar
Browse files

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
parent 284a7f44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment