Home
last modified time | relevance | path

Searched refs:SoundPoolManager (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/multimedia/player_framework/frameworks/native/soundpool/
H A Dsoundpool_manager.h27 class SoundPoolManager {
29 SoundPoolManager(const SoundPoolManager&) = delete;
30 SoundPoolManager& operator = (const SoundPoolManager&) = delete;
31 ~SoundPoolManager();
37 static SoundPoolManager& GetInstance() in GetInstance()
39 static SoundPoolManager instance; in GetInstance()
44 SoundPoolManager() {} in SoundPoolManager() function
H A Dsoundpool_manager.cpp26 SoundPoolManager::~SoundPoolManager() in ~SoundPoolManager()
34 int32_t SoundPoolManager::GetSoundPool(const pid_t pid, std::shared_ptr<SoundPool>& soundPool) in GetSoundPool()
42 int32_t SoundPoolManager::SetSoundPool(const pid_t pid, std::shared_ptr<SoundPool> soundPool) in SetSoundPool()
56 int32_t SoundPoolManager::Release(const pid_t pid) in Release()
H A Dsoundpool.cpp36 SoundPoolManager::GetInstance().SetSoundPool(getpid(), impl); in CreateSoundPool()
37 SoundPoolManager::GetInstance().GetSoundPool(getpid(), impl); in CreateSoundPool()
226 SoundPoolManager::GetInstance().Release(getpid()); in ReleaseInner()