Searched refs:SoundPool (Results 1 - 4 of 4) sorted by relevance
/foundation/multimedia/player_framework/frameworks/native/soundpool/ |
H A D | soundpool.cpp | 23 constexpr OHOS::HiviewDFX::HiLogLabel LABEL = {LOG_CORE, LOG_DOMAIN_SOUNDPOOL, "SoundPool"}; 32 std::shared_ptr<SoundPool> impl; in CreateSoundPool() 33 if (!SoundPool::CheckInitParam(maxStreams, audioRenderInfo)) { in CreateSoundPool() 38 CHECK_AND_RETURN_RET_LOG(impl != nullptr, nullptr, "failed to get SoundPool"); in CreateSoundPool() 41 CHECK_AND_RETURN_RET_LOG(ret == MSERR_OK, nullptr, "failed to init SoundPool"); in CreateSoundPool() 46 SoundPool::SoundPool() in SoundPool() function in OHOS::Media::SoundPool 48 MEDIA_LOGI("Construction SoundPool."); in SoundPool() 51 SoundPool::~SoundPool() in ~SoundPool() [all...] |
H A D | soundpool_manager.h | 25 class SoundPool; 33 int32_t GetSoundPool(const pid_t pid, std::shared_ptr<SoundPool>& soundPool); 34 int32_t SetSoundPool(const pid_t pid, std::shared_ptr<SoundPool> soundPool); 46 std::unordered_map<pid_t, std::shared_ptr<SoundPool>> soundPools_;
|
H A D | soundpool_manager.cpp | 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() 47 MEDIA_LOGI("SoundPool have setted, use old object."); in SetSoundPool() 50 soundPool = std::make_shared<SoundPool>(); in SetSoundPool()
|
H A D | soundpool.h | 27 class SoundPool : public ISoundPool { class 29 SoundPool(); 30 ~SoundPool();
|
Completed in 3 milliseconds