aboutsummaryrefslogtreecommitdiffstats
path: root/alc/voice_change.h
diff options
context:
space:
mode:
Diffstat (limited to 'alc/voice_change.h')
-rw-r--r--alc/voice_change.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/alc/voice_change.h b/alc/voice_change.h
index 1ce28f50..ddc6186f 100644
--- a/alc/voice_change.h
+++ b/alc/voice_change.h
@@ -10,11 +10,18 @@ struct Voice;
using uint = unsigned int;
+enum class VChangeState {
+ Reset,
+ Stop,
+ Play,
+ Pause,
+ Restart
+};
struct VoiceChange {
Voice *mOldVoice{nullptr};
Voice *mVoice{nullptr};
uint mSourceID{0};
- int mState{0};
+ VChangeState mState{};
std::atomic<VoiceChange*> mNext{nullptr};