Lines Matching refs:num_subbands
49 uint8_t num_subbands; /* Number of subbands */ member
128 (p_ie->num_subbands & ~A2DP_SBC_IE_SUBBAND_MSK) || in A2DP_BuildInfoSbc()
146 *p_result++ = p_ie->block_len | p_ie->num_subbands | p_ie->alloc_method; in A2DP_BuildInfoSbc()
184 p_ie->num_subbands = *p_codec_info & A2DP_SBC_IE_SUBBAND_MSK; in A2DP_ParseInfoSbc()
209 if (A2DP_BitsSet(p_ie->num_subbands) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoSbc()
222 if (A2DP_BitsSet(p_ie->num_subbands) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoSbc()
365 cfg_cie.num_subbands, p_cap->num_subbands); in A2DP_CodecInfoMatchesCapabilitySbc()
383 if ((cfg_cie.num_subbands & p_cap->num_subbands) == 0) in A2DP_CodecInfoMatchesCapabilitySbc()
454 (sbc_cie_a.num_subbands == sbc_cie_b.num_subbands) && in A2DP_CodecEqualsSbc()
534 switch (sbc_cie.num_subbands) { in A2DP_GetNumberOfSubbandsSbc()
759 AppendField(&field, (sbc_cie.num_subbands == 0), "NONE"); in A2DP_CodecInfoStringSbc()
760 AppendField(&field, (sbc_cie.num_subbands & A2DP_SBC_IE_SUBBAND_4), "4"); in A2DP_CodecInfoStringSbc()
761 AppendField(&field, (sbc_cie.num_subbands & A2DP_SBC_IE_SUBBAND_8), "8"); in A2DP_CodecInfoStringSbc()
762 res << "\tnum_subbands: " << field << " (" << loghex(sbc_cie.num_subbands) in A2DP_CodecInfoStringSbc()
1081 uint8_t num_subbands; in setCodecConfig() local
1387 num_subbands = p_a2dp_sbc_caps->num_subbands & peer_info_cie.num_subbands; in setCodecConfig()
1388 if (num_subbands & A2DP_SBC_IE_SUBBAND_8) { in setCodecConfig()
1389 result_config_cie.num_subbands = A2DP_SBC_IE_SUBBAND_8; in setCodecConfig()
1390 } else if (num_subbands & A2DP_SBC_IE_SUBBAND_4) { in setCodecConfig()
1391 result_config_cie.num_subbands = A2DP_SBC_IE_SUBBAND_4; in setCodecConfig()
1396 __func__, p_a2dp_sbc_caps->num_subbands, in setCodecConfig()
1397 peer_info_cie.num_subbands); in setCodecConfig()