diff options
author | zeldakatze <coffee@zeldakatze.de> | 2025-08-06 23:28:30 +0200 |
---|---|---|
committer | zeldakatze <coffee@zeldakatze.de> | 2025-08-06 23:28:30 +0200 |
commit | 0fce665f5da7119809b2d5ce13eb763a6c2eb4c6 (patch) | |
tree | 7374bbfd647520aabe259b7a18e222f4fe462058 /src/discord | |
parent | 041cc20d66ac91a0f5f6917f1ffb6247bdc5923a (diff) | |
download | abaddon-portaudio-0fce665f5da7119809b2d5ce13eb763a6c2eb4c6.tar.gz abaddon-portaudio-0fce665f5da7119809b2d5ce13eb763a6c2eb4c6.zip |
add portaudio
Diffstat (limited to 'src/discord')
-rw-r--r-- | src/discord/voiceclient.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/discord/voiceclient.hpp b/src/discord/voiceclient.hpp index aa1014c..0868c79 100644 --- a/src/discord/voiceclient.hpp +++ b/src/discord/voiceclient.hpp @@ -31,7 +31,7 @@ enum class VoiceGatewayCloseCode : uint16_t { UnknownEncryption = 4016, }; -enum class VoiceGatewayOp : int { +enum class VoiceGatewayOp : uint32_t { Identify = 0, SelectProtocol = 1, Ready = 2, @@ -70,7 +70,7 @@ struct VoiceGatewayMessage { }; struct VoiceHelloData { - int HeartbeatInterval; + uint32_t HeartbeatInterval; friend void from_json(const nlohmann::json &j, VoiceHelloData &m); }; @@ -95,10 +95,10 @@ struct VoiceIdentifyMessage { struct VoiceReadyData { struct VoiceStream { bool IsActive; - int Quality; + uint32_t Quality; std::string RID; - int RTXSSRC; - int SSRC; + uint32_t RTXSSRC; + uint32_t SSRC; std::string Type; friend void from_json(const nlohmann::json &j, VoiceStream &m); |