Skip to content

Commit

Permalink
bt: Update A2DP version to v1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongweichao committed Dec 15, 2022
1 parent 9bd1484 commit e579466
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/bt/host/bluedroid/bta/av/bta_av_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ static void bta_av_api_register(tBTA_AV_DATA *p_data)
if (bta_av_cb.features & BTA_AV_FEAT_DELAY_RPT) {
cs.cfg.psc_mask |= AVDT_PSC_DELAY_RPT;
a2d_set_avdt_sdp_ver(AVDT_VERSION_SYNC);
a2d_set_a2dp_sdp_ver(A2D_VERSION_SYC);
a2d_set_a2dp_sdp_ver(A2D_VERSION_1_4);
}

/* keep the configuration in the stream control block */
Expand Down
3 changes: 2 additions & 1 deletion components/bt/host/bluedroid/stack/include/stack/a2d_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
** constants
*****************************************************************************/
#define A2D_VERSION 0x0102
#define A2D_VERSION_SYC 0x0103
#define A2D_VERSION_1_3 0x0103
#define A2D_VERSION_1_4 0x0104

/* Profile supported features */
#define A2D_SUPF_PLAYER 0x0001
Expand Down

0 comments on commit e579466

Please sign in to comment.