Home
last modified time | relevance | path

Searched refs:cacheBufferStopThreadPool_ (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/multimedia/player_framework/frameworks/native/soundpool/
H A Dstream_id_manager.cpp64 if (cacheBufferStopThreadPool_ != nullptr) { in ~StreamIDManager()
65 cacheBufferStopThreadPool_->Stop(); in ~StreamIDManager()
93 cacheBufferStopThreadPool_ = std::make_shared<ThreadPool>(THREAD_POOL_NAME_CACHE_BUFFER); in InitThreadPool()
94 cacheBufferStopThreadPool_->Start(CACHE_BUFFER_THREAD_NUMBER); in InitThreadPool()
95 cacheBufferStopThreadPool_->SetMaxTaskNum(CACHE_BUFFER_THREAD_NUMBER); in InitThreadPool()
121 soundID, streamID, cacheBufferStopThreadPool_); in Play()
H A Dcache_buffer.cpp33cacheBufferStopThreadPool_(cacheBufferStopThreadPool), cacheDataFrameIndex_(0), havePlayedCount_(0) in CacheBuffer()
277 if (auto ptr = cacheBufferStopThreadPool_.lock()) { in OnWriteData()
341 if (auto ptr = cacheBufferStopThreadPool_.lock()) { in OnInterrupt()
H A Dstream_id_manager.h93 std::shared_ptr<ThreadPool> cacheBufferStopThreadPool_; variable
H A Dcache_buffer.h122 std::weak_ptr<ThreadPool> cacheBufferStopThreadPool_; variable