Home
last modified time | relevance | path

Searched refs:p_a2dp_offload (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_codec_config.cc196 bool A2dpCodecConfig::getCodecSpecificConfig(tBT_A2DP_OFFLOAD* p_a2dp_offload) { in getCodecSpecificConfig() argument
203 memset(p_a2dp_offload->codec_info, 0, sizeof(p_a2dp_offload->codec_info)); in getCodecSpecificConfig()
213 p_a2dp_offload->codec_info[0] = in getCodecSpecificConfig()
215 p_a2dp_offload->codec_info[1] = codec_config[5]; // Min bit pool in getCodecSpecificConfig()
216 p_a2dp_offload->codec_info[2] = codec_config[6]; // Max bit pool in getCodecSpecificConfig()
217 p_a2dp_offload->codec_info[3] = in getCodecSpecificConfig()
222 p_a2dp_offload->codec_info[0] = codec_config[3]; // object type in getCodecSpecificConfig()
223 p_a2dp_offload->codec_info[1] = codec_config[6]; // VBR | BR in getCodecSpecificConfig()
228 p_a2dp_offload->codec_info[0] = (vendor_id & 0x000000FF); in getCodecSpecificConfig()
229 p_a2dp_offload->codec_info[1] = (vendor_id & 0x0000FF00) >> 8; in getCodecSpecificConfig()
[all …]
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_aact.cc96 tBT_A2DP_OFFLOAD* p_a2dp_offload);
3339 tBT_A2DP_OFFLOAD* p_a2dp_offload) { in bta_av_offload_codec_builder() argument
3375 p_a2dp_offload->codec_type = codec_type; in bta_av_offload_codec_builder()
3376 p_a2dp_offload->max_latency = 0; in bta_av_offload_codec_builder()
3377 p_a2dp_offload->mtu = mtu; in bta_av_offload_codec_builder()
3378 p_a2dp_offload->acl_hdl = in bta_av_offload_codec_builder()
3383 p_a2dp_offload->scms_t_enable[0] = scmst_info.enable_status; in bta_av_offload_codec_builder()
3384 p_a2dp_offload->scms_t_enable[1] = scmst_info.cp_header; in bta_av_offload_codec_builder()
3391 p_a2dp_offload->sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_44100; in bta_av_offload_codec_builder()
3394 p_a2dp_offload->sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_48000; in bta_av_offload_codec_builder()
[all …]
/packages/modules/Bluetooth/system/test/mock/
Dmock_a2dp_codec_config.cc130 bool A2dpCodecConfig::getCodecSpecificConfig(tBT_A2DP_OFFLOAD* p_a2dp_offload) { in getCodecSpecificConfig() argument
/packages/modules/Bluetooth/system/stack/include/
Da2dp_codec_api.h89 bool getCodecSpecificConfig(tBT_A2DP_OFFLOAD* p_a2dp_offload);