Home
last modified time | relevance | path

Searched refs:codec_type (Results 1 – 11 of 11) sorted by relevance

/system/bt/bta/include/
Dbta_av_co.h71 UINT8 codec_type; /* Codec type */ member
132 extern UINT8 bta_av_co_audio_getconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
148 extern UINT8 bta_av_co_video_getconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
163 extern void bta_av_co_audio_setconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
178 extern void bta_av_co_video_setconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
196 tBTA_AV_CODEC codec_type, UINT8 *p_codec_info,
211 tBTA_AV_CODEC codec_type, UINT8 *p_codec_info,
228 extern void bta_av_co_audio_close(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
242 extern void bta_av_co_video_close(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
256 extern void bta_av_co_audio_start(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
[all …]
Dbta_dm_co.h44 tBTA_SCO_CODEC_TYPE codec_type; member
/system/bt/btif/co/
Dbta_av_co.c119 UINT8 codec_type; /* peer SEP codec type */ member
173 static BOOLEAN bta_av_co_audio_media_supports_config(UINT8 codec_type, const UINT8 *p_codec_cfg);
174 static BOOLEAN bta_av_co_audio_sink_supports_config(UINT8 codec_type, const UINT8 *p_codec_cfg);
457 UINT8 bta_av_audio_sink_getconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, in bta_av_audio_sink_getconfig() argument
472 hndl, codec_type, seid); in bta_av_audio_sink_getconfig()
491 switch (codec_type) in bta_av_audio_sink_getconfig()
513 p_src->codec_type = codec_type; in bta_av_audio_sink_getconfig()
581 UINT8 bta_av_co_audio_getconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, in bta_av_co_audio_getconfig() argument
605 result = bta_av_audio_sink_getconfig(hndl, codec_type, p_codec_info, p_sep_info_idx, in bta_av_co_audio_getconfig()
610 hndl, codec_type, seid); in bta_av_co_audio_getconfig()
[all …]
Dbta_dm_co.c235 if (p_codec_type->codec_type == BTA_SCO_CODEC_PCM && route == BTA_DM_SCO_ROUTE_HCI) in bta_dm_sco_co_init()
/system/bt/bta/ag/
Dbta_ag_act.c913 tBTA_AG_PEER_CODEC codec_type = p_data->api_setcodec.codec; in bta_ag_setcodec() local
917 if((codec_type != BTA_AG_CODEC_NONE) && in bta_ag_setcodec()
918 (codec_type != BTA_AG_CODEC_CVSD) && in bta_ag_setcodec()
919 (codec_type != BTA_AG_CODEC_MSBC)) in bta_ag_setcodec()
921 val.num = codec_type; in bta_ag_setcodec()
923 APPL_TRACE_ERROR("bta_ag_setcodec error: unsupported codec type %d", codec_type); in bta_ag_setcodec()
928 if((p_scb->peer_codecs & codec_type) || (codec_type == BTA_AG_CODEC_NONE) || in bta_ag_setcodec()
929 (codec_type == BTA_AG_CODEC_CVSD)) in bta_ag_setcodec()
931 p_scb->sco_codec = codec_type; in bta_ag_setcodec()
933 val.num = codec_type; in bta_ag_setcodec()
[all …]
Dbta_ag_cmd.c914 tBTA_AG_PEER_CODEC codec_type, codec_sent; in bta_ag_at_hfp_cback() local
1343 case UUID_CODEC_CVSD: codec_type = BTA_AG_CODEC_CVSD; break; in bta_ag_at_hfp_cback()
1344 case UUID_CODEC_MSBC: codec_type = BTA_AG_CODEC_MSBC; break; in bta_ag_at_hfp_cback()
1347 codec_type = 0xFFFF; in bta_ag_at_hfp_cback()
1356 if(codec_type == codec_sent) in bta_ag_at_hfp_cback()
/system/bt/bta/av/
Dbta_av_int.h167 typedef UINT8 (*tBTA_AV_CO_GETCFG) (tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
170 typedef void (*tBTA_AV_CO_SETCFG) (tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
175 tBTA_AV_CODEC codec_type, UINT8 *p_codec_info,
177 typedef void (*tBTA_AV_CO_CLOSE) (tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, UINT16 mtu);
178 typedef void (*tBTA_AV_CO_START) (tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,UINT8 *p_codec_info, …
179 typedef void (*tBTA_AV_CO_STOP) (tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type);
180 typedef void * (*tBTA_AV_CO_DATAPATH) (tBTA_AV_CODEC codec_type,
397 tBTA_AV_CODEC codec_type; /* codec type */ member
495 tBTA_AV_CODEC codec_type; /* codec type */ member
Dbta_av_aact.c257 (p_scb->seps[i].codec_type == p_scb->codec_type)) in bta_av_get_scb_handle()
743 APPL_TRACE_DEBUG("bta_av_adjust_seps_idx codec_type: %d", p_scb->codec_type); in bta_av_adjust_seps_idx()
746 p_scb->seps[i].av_handle, p_scb->seps[i].codec_type); in bta_av_adjust_seps_idx()
747 if((p_scb->seps[i].av_handle && p_scb->codec_type == p_scb->seps[i].codec_type) in bta_av_adjust_seps_idx()
1140 p_scb->codec_type = p_evt_cfg->codec_info[BTA_AV_CODEC_TYPE_IDX]; in bta_av_config_ind()
1183 p_scb->p_cos->setcfg(p_scb->hndl, p_scb->codec_type, in bta_av_config_ind()
1194 p_scb->p_cos->setcfg(p_scb->hndl, p_scb->codec_type, in bta_av_config_ind()
1328 if (p_scb->codec_type == BTA_AV_CODEC_SBC || num > 1) in bta_av_setconfig_rsp()
1408 p_scb->codec_type, p_scb->cfg.codec_info, mtu); in bta_av_str_opened()
1789 p_scb->p_cos->close(p_scb->hndl, p_scb->codec_type, mtu); in bta_av_cco_close()
[all …]
Dbta_av_main.c493 tBTA_AV_CODEC codec_type; in bta_av_api_register() local
648 if ((*bta_av_a2d_cos.init)(&codec_type, cs.cfg.codec_info, in bta_av_api_register()
653 p_scb->seps[index].codec_type = codec_type; in bta_av_api_register()
/system/extras/sound/
Dplaywav.c29 uint32_t codec_type; member
/system/bt/stack/include/
Dbtm_api.h3020 extern tBTM_STATUS BTM_SetWBSCodec (tBTM_SCO_CODEC_TYPE codec_type);