D++ (DPP)  10.0.30
C++ Discord API Bot Library
discordvoiceclient.h File Reference
#include <dpp/export.h>
#include <cerrno>
#include <cstdio>
#include <cstdlib>
#include <sys/types.h>
#include <fcntl.h>
#include <csignal>
#include <cstring>
#include <string>
#include <map>
#include <vector>
#include <dpp/json_fwd.h>
#include <dpp/wsclient.h>
#include <dpp/dispatcher.h>
#include <dpp/cluster.h>
#include <dpp/discordevents.h>
#include <dpp/socket.h>
#include <queue>
#include <thread>
#include <deque>
#include <mutex>
#include <shared_mutex>
#include <memory>
#include <future>
#include <functional>
#include <chrono>
Include dependency graph for discordvoiceclient.h:
This graph shows which files directly or indirectly include this file:

Classes

class  dpp::discord_voice_client
 Implements a discord voice connection. More...
 
struct  dpp::moving_averager
 
struct  dpp::discord_voice_client::voice_payload_parking_lot::seq_range_t
 The range of RTP packet sequence number and timestamp in the lot. More...
 
struct  dpp::voice_out_packet
 An opus-encoded RTP packet to be sent out to a voice channel. More...
 

Namespaces

 dpp
 The main namespace for D++ functions.
 

Macros

#define AUDIO_OVERLAP_SLEEP_SAMPLES   30
 
#define AUDIO_TRACK_MARKER   (uint16_t)0xFFFF
 

Variables

constexpr size_t dpp::send_audio_raw_max_length = 11520
 

Macro Definition Documentation

◆ AUDIO_OVERLAP_SLEEP_SAMPLES

#define AUDIO_OVERLAP_SLEEP_SAMPLES   30

◆ AUDIO_TRACK_MARKER

#define AUDIO_TRACK_MARKER   (uint16_t)0xFFFF