Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/player_framework/frameworks/native/soundpool/
H A Dsoundpool_manager.cpp30 soundPools_.clear(); in ~SoundPoolManager()
37 auto it = soundPools_.find(pid); in GetSoundPool()
38 it != soundPools_.end() ? soundPool = it->second : soundPool = nullptr; in GetSoundPool()
45 auto it = soundPools_.find(pid); in SetSoundPool()
46 if (it != soundPools_.end()) { in SetSoundPool()
51 soundPools_.emplace(pid, soundPool); in SetSoundPool()
59 auto it = soundPools_.find(pid); in Release()
60 if (it != soundPools_.end()) { in Release()
62 soundPools_.erase(it); in Release()
H A Dsoundpool_manager.h46 std::unordered_map<pid_t, std::shared_ptr<SoundPool>> soundPools_; variable