Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/player_framework/frameworks/native/soundpool/
H A Dstream_id_manager.cpp58 if (streamPlayingThreadPool_ != nullptr) { in ~StreamIDManager()
59 streamPlayingThreadPool_->Stop(); in ~StreamIDManager()
76 streamPlayingThreadPool_ = std::make_unique<ThreadPool>(THREAD_POOL_NAME); in InitThreadPool()
77 CHECK_AND_RETURN_RET_LOG(streamPlayingThreadPool_ != nullptr, MSERR_INVALID_VAL, in InitThreadPool()
89 streamPlayingThreadPool_->Start(maxStreams_); in InitThreadPool()
90 streamPlayingThreadPool_->SetMaxTaskNum(maxStreams_); in InitThreadPool()
147 CHECK_AND_RETURN_RET_LOG(streamPlayingThreadPool_ != nullptr, MSERR_INVALID_VAL, in SetPlay()
266 CHECK_AND_RETURN_RET_LOG(streamPlayingThreadPool_ != nullptr, MSERR_INVALID_VAL, in AddPlayTask()
269 streamPlayingThreadPool_->AddTask(streamPlayTask); in AddPlayTask()
H A Dstream_id_manager.h91 std::unique_ptr<ThreadPool> streamPlayingThreadPool_; variable