From d019628d0215f0899c07f310cbb4ea6617f63093 Mon Sep 17 00:00:00 2001 From: Aniket Kumar Lata Date: Thu, 9 May 2019 14:24:17 -0700 Subject: [PATCH] a2dp: Fix misaligned structure for LDAC encoder Fix LDAC structure misalignment with btaudio_offload. Change-Id: I040bf5c61dadff8503ea81542e0a71b9d9bfb629 --- hal/audio_extn/a2dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hal/audio_extn/a2dp.c b/hal/audio_extn/a2dp.c index c9ab3832..dda9abf4 100644 --- a/hal/audio_extn/a2dp.c +++ b/hal/audio_extn/a2dp.c @@ -710,9 +710,9 @@ typedef struct { uint32_t bit_rate; /*303000,606000,909000(in bits per second)*/ uint16_t channel_mode; /* 0, 4, 2, 1*/ uint16_t mtu; /*679*/ + uint32_t bits_per_sample; bool is_abr_enabled; struct quality_level_to_bitrate_info level_to_bitrate_map; - uint32_t bits_per_sample; } audio_ldac_encoder_config; /* Information about BT AAC decoder configuration