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

Skip to content
Commit 49f0349c authored by Sandeep Samdaria's avatar Sandeep Samdaria
Browse files

Audio not audible on reboot.

Problem: While BT is streaming media and the device is rebooted. The audio
is no longer audible post reboot. The issue is that once the queue is
filled with exact 5 packets, it checks if audio focus is present or not.
If not present, it doesn't start the decoder thread. This results in queue
to be not flushed by the decoder and thus doesn't output any audio.

Solution: Start the sink decoder if it's not been started previously and
queue size has crossed the threshold and audio focus is already
acquired.

Test: m seahawk-userdebug. Tested on device by reproducing the
      scenario and validating other media use-cases.
Bug: 285956295
Tag: #stability
Change-Id: Iff7ea4a79a9ec3f99930145d750174912dfa2ec9
parent e4f92af2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment