Skip to content

Commit

Permalink
auto update to latest DPP master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
D++ Update Bot committed Dec 11, 2023
1 parent f5b1123 commit aaf8a58
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 0 deletions.
Binary file modified MyBot/dependencies/32/debug/bin/dpp.dll
Binary file not shown.
Binary file modified MyBot/dependencies/32/debug/lib/dpp-10.0/dpp.lib
Binary file not shown.
Binary file modified MyBot/dependencies/32/release/bin/dpp.dll
Binary file not shown.
Binary file modified MyBot/dependencies/32/release/lib/dpp-10.0/dpp.lib
Binary file not shown.
Binary file modified MyBot/dependencies/64/debug/bin/dpp.dll
Binary file not shown.
Binary file modified MyBot/dependencies/64/debug/lib/dpp-10.0/dpp.lib
Binary file not shown.
Binary file modified MyBot/dependencies/64/release/bin/dpp.dll
Binary file not shown.
Binary file modified MyBot/dependencies/64/release/lib/dpp-10.0/dpp.lib
Binary file not shown.
23 changes: 23 additions & 0 deletions MyBot/dependencies/include/dpp-10.0/dpp/discordvoiceclient.h
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,13 @@ class DPP_EXPORT discord_voice_client : public websocket_client
*/
dpp::utility::uptime get_uptime();

/**
* @brief The time (in milliseconds) between each interval when parsing audio.
*
* @warning You should only change this if you know what you're doing. It is set to 500ms by default.
*/
uint16_t iteration_interval{500};

/** Constructor takes shard id, max shards and token.
* @param _cluster The cluster which owns this voice connection, for related logging, REST requests etc
* @param _channel_id The channel id to identify the voice connection as
Expand Down Expand Up @@ -852,6 +859,22 @@ class DPP_EXPORT discord_voice_client : public websocket_client
*/
discord_voice_client& stop_audio();

/**
* @brief Change the iteration interval time.
*
* @param time The time (in milliseconds) between each interval when parsing audio.
*
* @return Reference to self.
*/
discord_voice_client& set_iteration_interval(uint16_t interval);

/**
* @brief Get the iteration interval time (in milliseconds).
*
* @return iteration_interval
*/
uint16_t get_iteration_interval();

/**
* @brief Returns true if we are playing audio
*
Expand Down

0 comments on commit aaf8a58

Please sign in to comment.