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

Skip to content
Commit 15659961 authored by Ramjee Singh's avatar Ramjee Singh Committed by Gerrit Code Review
Browse files

audio: Initialized mAttributes in AudioTrack

- DirectAudioTrack creation fails for LPA/Tunnel playback
  if pAttributes passed to constructor is NULL. The reason is
  if pAttributes is NULL mAttributes is not initialized.
  getOutputForAttributes reads random usage value due to
  this reason
- Fix is to initialise mAttributes to default value.

CRs-Fixed: 811692
Change-Id: I0e747c6b46215a9b52e9d489c292b1046bd08f97
parent c16c177d
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