UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
audio_desc Struct Reference

#include <types.h>

Collaboration diagram for audio_desc:
Collaboration graph

Public Member Functions

 operator std::string () const
 
bool operator! () const
 
bool operator== (audio_desc const &) const
 

Public Attributes

int bps
 
int ch_count
 
audio_codec_t codec
 
int sample_rate
 

Detailed Description

Definition at line 76 of file types.h.

Member Function Documentation

◆ operator std::string()

audio_desc::operator std::string ( ) const

◆ operator!()

bool audio_desc::operator! ( ) const

Definition at line 64 of file types.cpp.

65{
66 return codec == AC_NONE;
67}
@ AC_NONE
Definition types.h:52

References AC_NONE.

◆ operator==()

bool audio_desc::operator== ( audio_desc const & other) const

Definition at line 69 of file types.cpp.

70{
71 return bps == other.bps &&
72 sample_rate == other.sample_rate &&
73 ch_count == other.ch_count &&
74 codec == other.codec;
75}
int sample_rate
Definition types.h:78
int ch_count
Definition types.h:79
int bps
Definition types.h:77

References bps, ch_count, codec, and sample_rate.

Member Data Documentation

◆ bps

◆ ch_count

◆ codec

◆ sample_rate


The documentation for this struct was generated from the following files: