Home
last modified time | relevance | path

Searched refs:pCodecInfo (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_state_machine.cpp193 uint8_t *pCodecInfo = msgData.configRsp.codecInfo; in ProcessSetConfigInd() local
198 ret = codecFactory->SetCodecConfig(pCodecInfo, pResultConfig); in ProcessSetConfigInd()
201 if (codecFactory->FindSourceCodec(pCodecInfo) == nullptr || in ProcessSetConfigInd()
206 (codecFactory->FindSourceCodec(pCodecInfo)->GetCodecIndex() + A2DP_SINK_CODEC_INDEX_MIN - in ProcessSetConfigInd()
208 ret = codecFactory->SetSinkCodecConfig(pCodecInfo, pResultConfig); in ProcessSetConfigInd()
211 userConfig.codecIndex_ = codecFactory->FindSourceCodec(pCodecInfo)->GetCodecIndex(); in ProcessSetConfigInd()
213 ret = codecFactory->SetCodecUserConfig(userConfig, pCodecInfo, pResultConfig, &reconfig); in ProcessSetConfigInd()
406 uint8_t *pCodecInfo = msgData.configRsp.codecInfo; in ProcessSetConfigInd() local
409 codecFactory->SetCodecConfig(pCodecInfo, pResultConfig); in ProcessSetConfigInd()
412 codecFactory->FindSourceCodec(pCodecInfo) in ProcessSetConfigInd()
[all...]
H A Da2dp_avdtp.cpp395 uint8_t *pCodecInfo = const_cast<uint8_t *>(data.reconfigInd.cfg.codecInfo); in ParseAvdtpReconfigureInd() local
398 if (peer->GetCodecConfigure()->SetPeerSourceCodecCapabilities(pCodecInfo)) { in ParseAvdtpReconfigureInd()
399 ret = peer->GetCodecConfigure()->SetSinkCodecConfig(pCodecInfo, pResultConfig); in ParseAvdtpReconfigureInd()
404 if (peer->GetCodecConfigure()->SetPeerSinkCodecCapabilities(pCodecInfo)) { in ParseAvdtpReconfigureInd()
405 ret = peer->GetCodecConfigure()->SetCodecConfig(pCodecInfo, pResultConfig); in ParseAvdtpReconfigureInd()

Completed in 4 milliseconds