Banuba SDK
effect_player_playback_state.hpp
Go to the documentation of this file.
1 /// \file
2 /// \addtogroup EffectPlayer
3 /// @{
4 ///
5 // AUTOGENERATED FILE - DO NOT MODIFY!
6 // This file generated by Djinni from effect_player.djinni
7 
8 #pragma once
9 
10 #include <functional>
11 
12 namespace bnb { namespace interfaces {
13 
14 enum class effect_player_playback_state : int {
15  /** Not initialized/stopped states */
16  inactive,
17  /** Active playback state */
18  active,
19  /** Playback is paused and ready to resume from saved position */
20  paused,
21 };
22 
23 } } // namespace bnb::interfaces
24 
25 namespace std {
26 
27 template <>
28 struct hash<::bnb::interfaces::effect_player_playback_state> {
29  size_t operator()(::bnb::interfaces::effect_player_playback_state type) const {
30  return std::hash<int>()(static_cast<int>(type));
31  }
32 };
33 
34 } // namespace std
35 /// @}
36