DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
Voice Connection

For all of the voice connection related stuff. More...

Classes and Structures

struct  DiscordCoreAPI::AudioFrameData
 Represents a single frame of audio data. More...
 
struct  DiscordCoreAPI::Playlist
 Playlist of songs and other variables. More...
 
class  DiscordCoreAPI::Song
 A song from the various platforms. More...
 
class  DiscordCoreAPI::SongAPI
 A class representing the Song APIs. More...
 
struct  DiscordCoreAPI::SongCompletionEventData
 Song completion event data. More...
 
struct  DiscordCoreAPI::VoiceConnectInitData
 For connecting to a voice-channel. "streamInfo" is used when a socket is created to connect this bot to another bot, for transmitting audio back and forth. More...
 
class  DiscordCoreAPI::VoiceConnection
 VoiceConnection class - represents the connection to a given voice Channel. More...
 

Enumerations

enum class  DiscordCoreAPI::AudioFrameType : uint8_t { DiscordCoreAPI::AudioFrameType::Unset = 0 , DiscordCoreAPI::AudioFrameType::RawPCM = 1 , DiscordCoreAPI::AudioFrameType::Skip = 2 }
 Audio frame types. More...
 

Enumeration Type Documentation

◆ AudioFrameType

enum class DiscordCoreAPI::AudioFrameType : uint8_t
strong
Enumerator
Unset 

Unset.

RawPCM 

Raw PCM.

Skip 

Skip.

Definition at line 825 of file Utilities.hpp.