hal: AV sync latency correction for split A2dp

Audio lagging video for split A2DP. Encoder latencies were not
considered for SBC/APTX/APTXHD/AAC formats taking deep buffer,
PCM offload, low latency paths. A latency of 200-300ms observed
across formats. Our current solution changes the out_get_latency()
function in primary HAL to update latency based on BT codec formats.

CRs-Fixed: 2004199
Change-Id: I8f19018054e3945d618ba6bcfef5d28e4fbab716
3 files changed