diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-05-29 06:29:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-29 06:29:39 +0000 |
commit | 3fbc71e369fedddd7ebc2eb08c9721860ae6b597 (patch) | |
tree | 297c9e2d905b0ba33978be5f64b9624773661a30 /src/discord/voicestateflags.hpp | |
parent | 8e9fb27e0bec4c9dd4b706e15987cbb16cf42005 (diff) | |
parent | 7da37a2fa90cebf43631c74aa1abfb9842502291 (diff) | |
download | abaddon-portaudio-3fbc71e369fedddd7ebc2eb08c9721860ae6b597.tar.gz abaddon-portaudio-3fbc71e369fedddd7ebc2eb08c9721860ae6b597.zip |
Merge pull request #105 from uowuo/voice
Voice support 🤯
Diffstat (limited to 'src/discord/voicestateflags.hpp')
-rw-r--r-- | src/discord/voicestateflags.hpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/discord/voicestateflags.hpp b/src/discord/voicestateflags.hpp new file mode 100644 index 0000000..e369001 --- /dev/null +++ b/src/discord/voicestateflags.hpp @@ -0,0 +1,17 @@ +#pragma once +#include <cstdint> + +enum class VoiceStateFlags : uint8_t { + Clear = 0, + Deaf = 1 << 0, + Mute = 1 << 1, + SelfDeaf = 1 << 2, + SelfMute = 1 << 3, + SelfStream = 1 << 4, + SelfVideo = 1 << 5, +}; + +template<> +struct Bitwise<VoiceStateFlags> { + static const bool enable = true; +}; |