From 0fce665f5da7119809b2d5ce13eb763a6c2eb4c6 Mon Sep 17 00:00:00 2001 From: zeldakatze Date: Wed, 6 Aug 2025 23:28:30 +0200 Subject: add portaudio --- src/discord/voiceclient.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/discord') 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); -- cgit v1.2.3