#ifndef __ESPLUSPLAYER_AUDIOEASINGINFO_H__
#define __ESPLUSPLAYER_AUDIOEASINGINFO_H__
+#include <cstdint>
+
namespace esplusplayer {
enum class AudioEasingType {
};
} // namespace esplusplayer
-#endif // __ESPLUSPLAYER_AUDIOEASINGINFO_H__
\ No newline at end of file
+#endif // __ESPLUSPLAYER_AUDIOEASINGINFO_H__
#include <boost/msm/front/state_machine_def.hpp> // front-end
#include <mutex>
#include <vector>
+#include <thread>
#include "core/utils/plusplayer_log.h"
#include "esplusplayer/esplusplayer.h"
bool ProcessEventStop(const es_event::Stop& stop_event) {
std::unique_lock<std::mutex> lock(control_m_, std::defer_lock);
- lock.try_lock();
+ if (!lock.try_lock())
+ LOG_WARN("failed to get try_lock");
+
if (stopped_) return false;
STATE_TRACE_P(this, "Transition Stop Requested, Current[%d]",
GetStateEnum());
} // namespace esplusplayer
-#endif // __ESPLUSPLAYER_SRC_ESPLAYER_STATE_MANAGER_H__
\ No newline at end of file
+#endif // __ESPLUSPLAYER_SRC_ESPLAYER_STATE_MANAGER_H__