webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
webrtc::StreamConfig Class Reference

#include <audio_processing.h>

Public Member Functions

 StreamConfig (int sample_rate_hz=0, size_t num_channels=0, bool has_keyboard=false)
 
void set_sample_rate_hz (int value)
 
void set_num_channels (size_t value)
 
void set_has_keyboard (bool value)
 
int sample_rate_hz () const
 
size_t num_channels () const
 
bool has_keyboard () const
 
size_t num_frames () const
 
size_t num_samples () const
 
bool operator== (const StreamConfig &other) const
 
bool operator!= (const StreamConfig &other) const
 
 StreamConfig (int sample_rate_hz=0, size_t num_channels=0, bool has_keyboard=false)
 
void set_sample_rate_hz (int value)
 
void set_num_channels (size_t value)
 
void set_has_keyboard (bool value)
 
int sample_rate_hz () const
 
size_t num_channels () const
 
bool has_keyboard () const
 
size_t num_frames () const
 
size_t num_samples () const
 
bool operator== (const StreamConfig &other) const
 
bool operator!= (const StreamConfig &other) const
 

Constructor & Destructor Documentation

◆ StreamConfig() [1/2]

webrtc::StreamConfig::StreamConfig ( int  sample_rate_hz = 0,
size_t  num_channels = 0,
bool  has_keyboard = false 
)
inline

◆ StreamConfig() [2/2]

webrtc::StreamConfig::StreamConfig ( int  sample_rate_hz = 0,
size_t  num_channels = 0,
bool  has_keyboard = false 
)
inline

Member Function Documentation

◆ has_keyboard() [1/2]

bool webrtc::StreamConfig::has_keyboard ( ) const
inline

◆ has_keyboard() [2/2]

bool webrtc::StreamConfig::has_keyboard ( ) const
inline

◆ num_channels() [1/2]

size_t webrtc::StreamConfig::num_channels ( ) const
inline

◆ num_channels() [2/2]

size_t webrtc::StreamConfig::num_channels ( ) const
inline

◆ num_frames() [1/2]

size_t webrtc::StreamConfig::num_frames ( ) const
inline

◆ num_frames() [2/2]

size_t webrtc::StreamConfig::num_frames ( ) const
inline

◆ num_samples() [1/2]

size_t webrtc::StreamConfig::num_samples ( ) const
inline

◆ num_samples() [2/2]

size_t webrtc::StreamConfig::num_samples ( ) const
inline

◆ operator!=() [1/2]

bool webrtc::StreamConfig::operator!= ( const StreamConfig other) const
inline

◆ operator!=() [2/2]

bool webrtc::StreamConfig::operator!= ( const StreamConfig other) const
inline

◆ operator==() [1/2]

bool webrtc::StreamConfig::operator== ( const StreamConfig other) const
inline

◆ operator==() [2/2]

bool webrtc::StreamConfig::operator== ( const StreamConfig other) const
inline

◆ sample_rate_hz() [1/2]

int webrtc::StreamConfig::sample_rate_hz ( ) const
inline

◆ sample_rate_hz() [2/2]

int webrtc::StreamConfig::sample_rate_hz ( ) const
inline

◆ set_has_keyboard() [1/2]

void webrtc::StreamConfig::set_has_keyboard ( bool  value)
inline

◆ set_has_keyboard() [2/2]

void webrtc::StreamConfig::set_has_keyboard ( bool  value)
inline

◆ set_num_channels() [1/2]

void webrtc::StreamConfig::set_num_channels ( size_t  value)
inline

◆ set_num_channels() [2/2]

void webrtc::StreamConfig::set_num_channels ( size_t  value)
inline

◆ set_sample_rate_hz() [1/2]

void webrtc::StreamConfig::set_sample_rate_hz ( int  value)
inline

◆ set_sample_rate_hz() [2/2]

void webrtc::StreamConfig::set_sample_rate_hz ( int  value)
inline

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