hal: Fix compilation error
- To fix compilation error, update aptx adaptive name.
Change-Id: I8de50a2868992f8ee219b0927b28dae42c6bd35a
diff --git a/hal/audio_extn/a2dp.c b/hal/audio_extn/a2dp.c
index 1af7433..cca7bf9 100644
--- a/hal/audio_extn/a2dp.c
+++ b/hal/audio_extn/a2dp.c
@@ -2205,7 +2205,7 @@
latency = (avsync_runtime_prop > 0) ? ldac_offset : ENCODER_LATENCY_LDAC;
latency += (slatency <= 0) ? DEFAULT_SINK_LATENCY_LDAC : slatency;
break;
- case ENC_CODEC_TYPE_APTX_AD: // for aptx adaptive the latency depends on the mode (HQ/LL) and
+ case 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
default:
latency = 200;