From 313f7f4c88500b4ae7c4dd765e18392bea0a2ba2 Mon Sep 17 00:00:00 2001 From: zeldakatze Date: Thu, 7 Aug 2025 14:10:00 +0200 Subject: make portaudio actually work --- src/discord/voiceclient.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/discord/voiceclient.hpp') diff --git a/src/discord/voiceclient.hpp b/src/discord/voiceclient.hpp index 0868c79..aa1014c 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 : uint32_t { +enum class VoiceGatewayOp : int { Identify = 0, SelectProtocol = 1, Ready = 2, @@ -70,7 +70,7 @@ struct VoiceGatewayMessage { }; struct VoiceHelloData { - uint32_t HeartbeatInterval; + int HeartbeatInterval; friend void from_json(const nlohmann::json &j, VoiceHelloData &m); }; @@ -95,10 +95,10 @@ struct VoiceIdentifyMessage { struct VoiceReadyData { struct VoiceStream { bool IsActive; - uint32_t Quality; + int Quality; std::string RID; - uint32_t RTXSSRC; - uint32_t SSRC; + int RTXSSRC; + int SSRC; std::string Type; friend void from_json(const nlohmann::json &j, VoiceStream &m); -- cgit v1.2.3