Home
last modified time | relevance | path

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

/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_profile_peer.cpp665 A2dpCodecCapability userConfig = {}; in SetUserCodecConfigure() local
679 ChangeUserConfigureInfo(userConfig, codecInfo, info); in SetUserCodecConfigure()
682 if (codecConfig_->SetCodecUserConfig(userConfig, codecInfo, resultInfo, &reconfig)) { in SetUserCodecConfigure()
717 A2dpCodecCapability &userConfig, uint8_t *codecInfo, const A2dpSrcCodecInfo info) in ChangeUserConfigureInfo()
725 userConfig.bitsPerSample = info.bitsPerSample; in ChangeUserConfigureInfo()
726 userConfig.channelMode_ = info.channelMode; in ChangeUserConfigureInfo()
727 userConfig.codecIndex_ = sourceCodecIndex; in ChangeUserConfigureInfo()
728 userConfig.codecPriority_ = A2DP_CODEC_PRIORITY_HIGHEST; in ChangeUserConfigureInfo()
729 userConfig.sampleRate_ = info.sampleRate; in ChangeUserConfigureInfo()
737 *(codecInfo + CODEC_SBC_SAMPLE_INDEX) = (userConfig in ChangeUserConfigureInfo()
716 ChangeUserConfigureInfo( A2dpCodecCapability &userConfig, uint8_t *codecInfo, const A2dpSrcCodecInfo info) ChangeUserConfigureInfo() argument
760 A2dpCodecCapability userConfig = {}; EnableOptionalCodec() local
795 SelectCodecInfo(A2dpCodecCapability &userConfig, uint8_t *codecInfo, A2dpCodecIndex index) SelectCodecInfo() argument
[all...]
H A Da2dp_profile_peer.h647 A2dpCodecCapability &userConfig, uint8_t *codecInfo, const A2dpSrcCodecInfo info);
653 * @param[out] userConfig The configure information to set
657 void SelectCodecInfo(A2dpCodecCapability &userConfig, uint8_t *codecInfo, A2dpCodecIndex index);
H A Da2dp_state_machine.cpp179 A2dpCodecCapability userConfig = {}; in ProcessSetConfigInd() local
211 userConfig.codecIndex_ = codecFactory->FindSourceCodec(pCodecInfo)->GetCodecIndex(); in ProcessSetConfigInd()
212 userConfig.codecPriority_ = A2DP_CODEC_PRIORITY_HIGHEST; in ProcessSetConfigInd()
213 ret = codecFactory->SetCodecUserConfig(userConfig, pCodecInfo, pResultConfig, &reconfig); in ProcessSetConfigInd()
391 A2dpCodecCapability userConfig = {}; in ProcessSetConfigInd() local
420 userConfig.codecIndex_ = codecFactory->FindSourceCodec(pCodecInfo)->GetCodecIndex(); in ProcessSetConfigInd()
421 userConfig.codecPriority_ = A2DP_CODEC_PRIORITY_HIGHEST; in ProcessSetConfigInd()
422 codecFactory->SetCodecUserConfig(userConfig, pCodecInfo, pResultConfig, &reconfig); in ProcessSetConfigInd()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/
H A Da2dp_codec_factory.cpp183 const A2dpCodecCapability &userConfig, A2dpCodecConfig *a2dpCodecConfig, bool *restartConfig) in UpdateCodecPriority()
186 A2dpCodecPriority newPriority = userConfig.codecPriority_; in UpdateCodecPriority()
235 bool A2dpCodecFactory::SetCodecUserConfig(const A2dpCodecCapability &userConfig, const uint8_t *peerSinkCapabilities, in SetCodecUserConfig() argument
242 if (userConfig.codecIndex_ < A2DP_CODEC_INDEX_MAX) { in SetCodecUserConfig()
243 auto iter = indexedCodecs_.find(userConfig.codecIndex_); in SetCodecUserConfig()
258 userConfig, codecAudioConfig, peerSinkCapabilities, resultCodecInfo, restartConfig)) { in SetCodecUserConfig()
263 UpdateCodecPriority(userConfig, a2dpCodecConfig, restartConfig); in SetCodecUserConfig()
182 UpdateCodecPriority( const A2dpCodecCapability &userConfig, A2dpCodecConfig *a2dpCodecConfig, bool *restartConfig) UpdateCodecPriority() argument
H A Da2dp_codec_config.cpp164 bool A2dpCodecConfig::SetCodecUserConfig(const A2dpCodecCapability &userConfig, const A2dpCodecCapability &audioConfig, in SetCodecUserConfig() argument
170 userCodecConfig_ = userConfig; in SetCodecUserConfig()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/include/
H A Da2dp_codec_factory.h43 bool SetCodecUserConfig(const A2dpCodecCapability &userConfig, const uint8_t *peerSinkCapabilities,
56 const A2dpCodecCapability &userConfig, A2dpCodecConfig *a2dpCodecConfig, bool *restartConfig);
H A Da2dp_codec_config.h128 bool SetCodecUserConfig(const A2dpCodecCapability &userConfig, const A2dpCodecCapability &audioConfig,

Completed in 7 milliseconds