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

Skip to content
Commit a1fa45c2 authored by Ramjee Singh's avatar Ramjee Singh Committed by Steve Kondik
Browse files

audio: Fixed streamType for non-media streams

- When application passes attributes with non-media
  usage, it is wrongly converted to AUDIO_STREAM_MUSIC
  in AudioTrack and sent to AudioPolicyManager.
  This is causing wrong output to be selected by
  AudioPolicyManager. testTwoChannelCapturing is failed
  due to this reason

- Fix is to set mStreamType to be DEFAULT when
  attributes are passed by the client to AudioTrack

CRs-Fixed: 813683
Change-Id: Ibdb4859f9eb838b7b930e2509de1d98d62e1599d
parent 8b5540cf
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