commit | aecc1ecb06dcc85cf0cfb20cd8c9e9c3e886c272 | [log] [tgz] |
---|---|---|
author | Anand Mohan <quic_anamoh@quicinc.com> | Tue Sep 26 22:43:38 2023 +0530 |
committer | Anand Mohan <quic_anamoh@quicinc.com> | Thu Oct 19 22:16:27 2023 +0530 |
tree | a11244119cbb6465a3a5340b1857ce1f86111e20 | |
parent | bce1d94de5b1c2d90b3099345d7cd6824451390b [diff] |
pal: do not retry isDeviceReady if stream routing is for combo device SwitchDevice function requires stream mutex to be locked. If a stream is active on Speaker and routing comes for combo device, adding retry loop for 2 secs will block write call on Speaker if A2dp device is not ready. Added check to not retry isDeviceReady if stream routing is on combo device. This will ensure seamless audio over Speaker. Change-Id: Ia04a7be46babccad54c2fedd76d10eb76bc6a21d