Discord Social SDK
|
Settings for the void auto detection threshold for picking up activity from a user's mic.
Public Member Functions | |
VADThresholdSettings (VADThresholdSettings &&other) noexcept | |
Move constructor for VADThresholdSettings. | |
VADThresholdSettings & | operator= (VADThresholdSettings &&other) noexcept |
Move assignment operator for VADThresholdSettings. | |
operator bool () const | |
Returns true if the instance contains a valid object. | |
VADThresholdSettings (const VADThresholdSettings &)=delete | |
VADThresholdSettings & | operator= (const VADThresholdSettings &)=delete |
float | VadThreshold () const |
The current void auto detection threshold value, has a range of -100, 0 and defaults to -60. | |
void | SetVadThreshold (float VadThreshold) |
Setter for VADThresholdSettings::VadThreshold. | |
bool | Automatic () const |
Whether or not Discord is currently automatically setting and detecting the appropriate threshold to use. | |
void | SetAutomatic (bool Automatic) |
Setter for VADThresholdSettings::Automatic. | |
Static Public Attributes | |
static const VADThresholdSettings | nullobj |
Uninitialized instance of VADThresholdSettings. | |
|
noexcept |
Move constructor for VADThresholdSettings.
bool discordpp::VADThresholdSettings::Automatic | ( | ) | const |
Whether or not Discord is currently automatically setting and detecting the appropriate threshold to use.
|
inline |
Returns true if the instance contains a valid object.
|
noexcept |
Move assignment operator for VADThresholdSettings.
void discordpp::VADThresholdSettings::SetAutomatic | ( | bool | Automatic | ) |
Setter for VADThresholdSettings::Automatic.
void discordpp::VADThresholdSettings::SetVadThreshold | ( | float | VadThreshold | ) |
Setter for VADThresholdSettings::VadThreshold.
float discordpp::VADThresholdSettings::VadThreshold | ( | ) | const |
The current void auto detection threshold value, has a range of -100, 0 and defaults to -60.
|
static |
Uninitialized instance of VADThresholdSettings.