Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce3f5d85 authored by Yun-Hao Chung's avatar Yun-Hao Chung Committed by Yun-hao Chung
Browse files

A2DP: Default to use SBC 48K sampling frequency for TARGET_FLOSS

Currently the default is 44100 and can be changed per user preference.
This makes the default to be 48K if possible to avoid redundant
reconfig.

Bug: 333344362
Bug: 384648601
Test: mmm packages/modules/Bluetooth
Tag: #floss
Flag: EXEMPT, Floss-only change
Change-Id: Ie7597aea3e6a38aaea6d51594bf7785d5607a71a
parent 959dc5d6
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -96,7 +96,11 @@ static const tA2DP_SBC_CIE a2dp_sbc_sink_caps = {

/* Default SBC codec configuration */
const tA2DP_SBC_CIE a2dp_sbc_default_config = {
        A2DP_SBC_IE_SAMP_FREQ_44,          /* samp_freq */
#ifdef TARGET_FLOSS
        (A2DP_SBC_IE_SAMP_FREQ_48), /* samp_freq */
#else
        (A2DP_SBC_IE_SAMP_FREQ_44), /* samp_freq */
#endif
        A2DP_SBC_IE_CH_MD_JOINT,           /* ch_mode */
        A2DP_SBC_IE_BLOCKS_16,             /* block_len */
        A2DP_SBC_IE_SUBBAND_8,             /* num_subbands */