Rise
The Vieneo Province
Loading...
Searching...
No Matches
discordpp::VADThresholdSettings Class Reference

Settings for the void auto detection threshold for picking up activity from a user's mic. More...

#include <discordpp.h>

Collaboration diagram for discordpp::VADThresholdSettings:
[legend]

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.

Detailed Description

Settings for the void auto detection threshold for picking up activity from a user's mic.

Definition at line 1856 of file discordpp.h.

Constructor & Destructor Documentation

◆ VADThresholdSettings() [1/2]

discordpp::VADThresholdSettings::VADThresholdSettings ( VADThresholdSettings && other)
noexcept

Move constructor for VADThresholdSettings.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ VADThresholdSettings() [2/2]

discordpp::VADThresholdSettings::VADThresholdSettings ( const VADThresholdSettings & )
delete
Here is the call graph for this function:

Member Function Documentation

◆ Automatic()

bool discordpp::VADThresholdSettings::Automatic ( ) const

Whether or not Discord is currently automatically setting and detecting the appropriate threshold to use.

Here is the caller graph for this function:

◆ operator bool()

discordpp::VADThresholdSettings::operator bool ( ) const
inline

Returns true if the instance contains a valid object.

Definition at line 1877 of file discordpp.h.

◆ operator=() [1/2]

VADThresholdSettings & discordpp::VADThresholdSettings::operator= ( const VADThresholdSettings & )
delete
Here is the call graph for this function:

◆ operator=() [2/2]

VADThresholdSettings & discordpp::VADThresholdSettings::operator= ( VADThresholdSettings && other)
noexcept

Move assignment operator for VADThresholdSettings.

Here is the call graph for this function:

◆ SetAutomatic()

void discordpp::VADThresholdSettings::SetAutomatic ( bool Automatic)

Setter for VADThresholdSettings::Automatic.

Here is the call graph for this function:

◆ SetVadThreshold()

void discordpp::VADThresholdSettings::SetVadThreshold ( float VadThreshold)

Setter for VADThresholdSettings::VadThreshold.

Here is the call graph for this function:

◆ VadThreshold()

float discordpp::VADThresholdSettings::VadThreshold ( ) const

The current void auto detection threshold value, has a range of -100, 0 and defaults to -60.

Here is the caller graph for this function:

Member Data Documentation

◆ nullobj

const VADThresholdSettings discordpp::VADThresholdSettings::nullobj
static

Uninitialized instance of VADThresholdSettings.

Definition at line 1875 of file discordpp.h.


The documentation for this class was generated from the following file: