Home
last modified time | relevance | path

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

/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_state_machine.cpp189 A2dpCodecFactory *codecFactory = profilePeer->GetCodecConfigure(); in ProcessSetConfigInd() local
190 if (codecFactory == nullptr) { in ProcessSetConfigInd()
198 ret = codecFactory->SetCodecConfig(pCodecInfo, pResultConfig); in ProcessSetConfigInd()
201 if (codecFactory->FindSourceCodec(pCodecInfo) == nullptr || in ProcessSetConfigInd()
202 codecFactory->GetIndexedSinkCodecs().front() == nullptr) { in ProcessSetConfigInd()
205 if (codecFactory->GetIndexedSinkCodecs().front()->GetCodecIndex() == 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 in ProcessSetConfigInd()
405 A2dpCodecFactory *codecFactory = profilePeer->GetCodecConfigure(); ProcessSetConfigInd() local
[all...]

Completed in 1 milliseconds