diff --git a/include/dpp/discordvoiceclient.h b/include/dpp/discordvoiceclient.h index 4a13ab6725..adfb37e417 100644 --- a/include/dpp/discordvoiceclient.h +++ b/include/dpp/discordvoiceclient.h @@ -564,7 +564,10 @@ class DPP_EXPORT discord_voice_client : public websocket_client snowflake channel_id; /** - * @brief The audio type to be sent. The default type is recorded audio. + * @brief The audio type to be sent. + * + * @note On Windows, the default type is overlap audio. + * On all other platforms, it is recorded audio. * * If the audio is recorded, the sending of audio packets is throttled. * Otherwise, if the audio is live, the sending is not throttled. @@ -594,10 +597,15 @@ class DPP_EXPORT discord_voice_client : public websocket_client */ enum send_audio_type_t { - satype_recorded_audio, - satype_live_audio, + satype_recorded_audio, + satype_live_audio, satype_overlap_audio - } send_audio_type = satype_recorded_audio; + } send_audio_type = +#ifdef _WIN32 + satype_overlap_audio; +#else + satype_recorded_audio; +#endif /** * @brief Sets the gain for the specified user.