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

Skip to content
Commit bc0a8f4a authored by Pavan Chikkala's avatar Pavan Chikkala Committed by Steve Kondik
Browse files

audio: Added fallback mechanism for Tunnel Mode

On L, checkTunnelExceptions always gets stream type as MUSIC
because AudioOutput gets the actual stream only after AudioTrack
is created. AwesomePlayer tries play MP3/AAC ringtones in tunnel
mode due to this reason. Also, AudioOutput fails to set the
actual stream type for tunnel case which results in MUSIC
and RINGTONE getting mixed

Added fallback mechasism for tunnel mode so that ring tones
are rejected by the tunnel player and is switched to
deep buffer mode. Updated stream type for tunnel case in
AudioOutput after AudioTrack is created

CRs-Fixed: 774774

Change-Id: I408441c8c0562ef36beddd4f6efb76752d3fb0a0
parent 96eb1543
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