Ring Daemon 16.0.0
Loading...
Searching...
No Matches
jami::PaDeviceInfos Struct Reference

Convenience structure to hold PulseAudio device propreties such as supported channel number etc. More...

#include <pulselayer.h>

Collaboration diagram for jami::PaDeviceInfos:
Collaboration graph

Classes

class  DescriptionComparator
 
class  NameComparator
 Unary function to search for a device by name in a list using std functions. More...
 

Public Member Functions

 PaDeviceInfos ()
 
 PaDeviceInfos (const pa_sink_info &source)
 
 PaDeviceInfos (const pa_source_info &source)
 

Public Attributes

pa_channel_map channel_map {}
 
std::string description {"default"}
 
uint32_t index {0}
 
uint32_t monitor_of {PA_INVALID_INDEX}
 
std::string name {}
 
pa_sample_spec sample_spec {}
 

Detailed Description

Convenience structure to hold PulseAudio device propreties such as supported channel number etc.

Definition at line 40 of file pulselayer.h.

Constructor & Destructor Documentation

◆ PaDeviceInfos() [1/3]

jami::PaDeviceInfos::PaDeviceInfos ( )
inline

Definition at line 49 of file pulselayer.h.

◆ PaDeviceInfos() [2/3]

jami::PaDeviceInfos::PaDeviceInfos ( const pa_source_info source)
inline

Definition at line 51 of file pulselayer.h.

◆ PaDeviceInfos() [3/3]

jami::PaDeviceInfos::PaDeviceInfos ( const pa_sink_info source)
inline

Definition at line 60 of file pulselayer.h.

Member Data Documentation

◆ channel_map

pa_channel_map jami::PaDeviceInfos::channel_map {}

Definition at line 46 of file pulselayer.h.

Referenced by jami::AudioStream::AudioStream().

◆ description

std::string jami::PaDeviceInfos::description {"default"}

Definition at line 44 of file pulselayer.h.

◆ index

uint32_t jami::PaDeviceInfos::index {0}

Definition at line 42 of file pulselayer.h.

◆ monitor_of

uint32_t jami::PaDeviceInfos::monitor_of {PA_INVALID_INDEX}

Definition at line 47 of file pulselayer.h.

◆ name

std::string jami::PaDeviceInfos::name {}

Definition at line 43 of file pulselayer.h.

Referenced by jami::AudioStream::AudioStream().

◆ sample_spec

pa_sample_spec jami::PaDeviceInfos::sample_spec {}

Definition at line 45 of file pulselayer.h.


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