a2dp: fix aptx hd codec negotiation

Signed-off-by: Huang-Huang Bao <eh5@sokka.cn>
This commit is contained in:
Huang-Huang Bao 2020-12-17 21:38:51 +08:00 committed by Bao, Huang-Huang
parent 724d2581f0
commit 161c05d737
2 changed files with 63 additions and 13 deletions

View file

@ -233,6 +233,13 @@ typedef struct {
uint8_t frequency:4;
} __attribute__ ((packed)) a2dp_aptx_t;
typedef struct {
a2dp_vendor_codec_t info;
uint8_t channel_mode:4;
uint8_t frequency:4;
uint32_t rfa;
} __attribute__ ((packed)) a2dp_aptx_hd_t;
#elif __BYTE_ORDER == __BIG_ENDIAN
typedef struct {