Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/media_foundation/engine/scene/recorder/standard/
H A Dhirecorder_impl.cpp38 fsm_(*this), curFsmState_(StateId::INIT) in HiRecorderImpl()
192 if (curFsmState_ == StateId::RECORDING_SETTING) { // Wait state change to ready in Prepare()
193 cond_.Wait(lock, [this] { return curFsmState_ != StateId::RECORDING_SETTING; }); in Prepare()
197 if (curFsmState_ == StateId::READY) { in Prepare()
211 if (curFsmState_ == StateId::PAUSE) { in Start()
253 return curFsmState_ == StateId::ERROR || curFsmState_ == StateId::INIT; in Stop()
255 FALSE_RETURN_V_MSG_E(curFsmState_ == StateId::INIT, ERR_UNKNOWN_REASON, "stop fail"); in Stop()
264 if (curFsmState_ == StateId::RECORDING) { in Reset()
307 …MEDIA_LOG_I("OnStateChanged from " PUBLIC_LOG_D32 " to " PUBLIC_LOG_D32, curFsmState_.load(), stat… in OnStateChanged()
310 curFsmState_ = state; in OnStateChanged()
[all …]
H A Dhirecorder_impl.h106 std::atomic<StateId> curFsmState_; variable
/ohos5.0/foundation/multimedia/media_foundation/engine/scene/player/lite/
H A Dhiplayer_impl.cpp33 curFsmState_(StateId::IDLE), in HiPlayerImpl()
158 if (curFsmState_ == StateId::PREPARING) { // Wait state change to ready in Prepare()
159 cond_.Wait(lock, [this] { return curFsmState_ != StateId::PREPARING; }); in Prepare()
163 if (curFsmState_ == StateId::READY) { in Prepare()
622 …MEDIA_LOG_I("OnStateChanged from " PUBLIC_LOG_D32 " to " PUBLIC_LOG_D32, curFsmState_.load(), stat… in OnStateChanged()
626 curFsmState_ = state; in OnStateChanged()
H A Dhiplayer_impl.h137 std::atomic<StateId> curFsmState_; variable