Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
audio::config_t Struct Reference
Collaboration diagram for audio::config_t:
[legend]

Public Types

enum  flags_e : int { HIGH_QUALITY , HOST_AUDIO , CUSTOM_SURROUND_PARAMS , MAX_FLAGS }

Public Attributes

int packetDuration
int channels
int mask
stream_params_t customStreamParams
std::bitset< MAX_FLAGS > flags
uint64_t __padding
bool input_only
std::string session_sink
std::string session_server
 The audio server session_sink lives in, where the session has its own.

Detailed Description

Definition at line 48 of file audio.h.

Member Enumeration Documentation

◆ flags_e

Enumerator
HIGH_QUALITY 

High quality audio.

HOST_AUDIO 

Host audio.

CUSTOM_SURROUND_PARAMS 

Custom surround parameters.

MAX_FLAGS 

Maximum number of flags.

Definition at line 49 of file audio.h.

Member Data Documentation

◆ __padding

uint64_t audio::config_t::__padding

Definition at line 66 of file audio.h.

◆ channels

int audio::config_t::channels

Definition at line 57 of file audio.h.

◆ customStreamParams

stream_params_t audio::config_t::customStreamParams

Definition at line 60 of file audio.h.

◆ flags

std::bitset<MAX_FLAGS> audio::config_t::flags

Definition at line 62 of file audio.h.

◆ input_only

bool audio::config_t::input_only

Definition at line 68 of file audio.h.

◆ mask

int audio::config_t::mask

Definition at line 58 of file audio.h.

◆ packetDuration

int audio::config_t::packetDuration

Definition at line 56 of file audio.h.

◆ session_server

std::string audio::config_t::session_server

The audio server session_sink lives in, where the session has its own.

Definition at line 84 of file audio.h.

◆ session_sink

std::string audio::config_t::session_sink

The sink this session records, when it has one of its own.

Empty for every session that shares the host's desktop, which is what leaves their behaviour exactly as it was: capture follows the configured sink, the virtual sink or the host's default, and the first stream to start moves the host's default onto whichever it picked. That is how the host's own audio reaches a stream, and it is also why it reaches every stream. An isolated session names its own sink here instead, and then neither the default nor any other session's audio is involved.

Definition at line 81 of file audio.h.


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