Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioeffect/src/
H A Daudio_enhance_chain_manager.cpp66 sceneTypeToEnhanceChainCountMap_.clear(); in AudioEnhanceChainManager()
137 if (!sceneTypeToEnhanceChainCountMap_.count(sceneTypeAndDeviceKey) || in CreateAudioEnhanceChainDynamic()
138 sceneTypeToEnhanceChainCountMap_[sceneTypeAndDeviceKey] < 1) { in CreateAudioEnhanceChainDynamic()
139 sceneTypeToEnhanceChainCountMap_.erase(sceneTypeAndDeviceKey); in CreateAudioEnhanceChainDynamic()
143 sceneTypeToEnhanceChainCountMap_[sceneTypeAndDeviceKey]++; in CreateAudioEnhanceChainDynamic()
148 if (!sceneTypeToEnhanceChainCountMap_.count(sceneTypeAndDeviceKey)) { in CreateAudioEnhanceChainDynamic()
151 sceneTypeToEnhanceChainCountMap_[sceneTypeAndDeviceKey] = 1; in CreateAudioEnhanceChainDynamic()
218 sceneTypeToEnhanceChainCountMap_.erase(sceneTypeAndDeviceKey); in ReleaseAudioEnhanceChainDynamic()
221 sceneTypeToEnhanceChainCountMap_[sceneTypeAndDeviceKey] > 1) { in ReleaseAudioEnhanceChainDynamic()
222 sceneTypeToEnhanceChainCountMap_[sceneTypeAndDeviceKey]--; in ReleaseAudioEnhanceChainDynamic()
[all …]
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioeffect/include/
H A Daudio_enhance_chain_manager.h52 std::map<std::string, int32_t> sceneTypeToEnhanceChainCountMap_; variable