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

Commit 79c514e7 authored by Preetam Singh Ranawat's avatar Preetam Singh Ranawat Committed by Gerrit - the friendly Code Review server
Browse files

audio: Fix APTX Adaptive latency value.

-latency value returnd for aptx adaptive is not proper as it uses
 default value in case statement, add break to return proper value.

Change-Id: I5a910c3fbd85474562c7b959b3b855679177a60f
parent e0614a08
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2207,6 +2207,7 @@ uint32_t audio_extn_a2dp_get_encoder_latency()
            break;
        case ENC_CODEC_TYPE_APTX_AD: // for aptx adaptive the latency depends on the mode (HQ/LL) and
            latency = slatency;      // BT IPC will take care of accomodating the mode factor and return latency
            break;
        default:
            latency = 200;
            break;