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

Skip to content
Commit 64c0e1a5 authored by Eric Laurent's avatar Eric Laurent
Browse files

Fix issue 2115450: a2dp thread is started, even though we are only connected...

Fix issue 2115450: a2dp thread is started, even though we are only connected to headset and not playing music.

This is due to a regression introduced by change 24114: when no audio tracks are ready for mixing, 0s are written to audio hardware. However this should only happen if tracks have already been mixed since the audio flinger thread woke up.
Also do not write 0s to audio hardware in direct output threads when audio format is not linear PCM.
parent 91e2d865
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