Home
last modified time | relevance | path

Searched refs:lastCodecConfig_ (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/
H A Da2dp_codec_factory.cpp39 : codecPriorities_(codecPriorities), currentCodecConfig_(nullptr), lastCodecConfig_(nullptr) in A2dpCodecFactory()
178 currentCodecConfig_ = lastCodecConfig_; in ResetCodecUserConfig()
192 if (lastCodecConfig_ == nullptr) { // have no previous codec, so update the current codec in UpdateCodecPriority()
199 if (lastCodecConfig_ == a2dpCodecConfig) { in UpdateCodecPriority()
219 if (newPriority >= lastCodecConfig_->GetCodecPriority()) { in UpdateCodecPriority()
223 lastCodecConfig_->SetDefaultCodecPriority(); in UpdateCodecPriority()
240 lastCodecConfig_ = currentCodecConfig_; in SetCodecUserConfig()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/include/
H A Da2dp_codec_factory.h62 A2dpCodecConfig *lastCodecConfig_; // last selected codec variable