Sunshine master
Self-hosted game stream host for Moonlight.
audio::audio_ctx_t Struct Reference

Shared audio device state used while streams are active. More...

#include <src/audio.h>

Collaboration diagram for audio::audio_ctx_t:
[legend]

Public Attributes

std::unique_ptr< platf::audio_control_tcontrol
 Platform audio-control implementation.
 
bool restore_sink
 Whether Sunshine should restore the original sink when capture ends.
 
platf::sink_t sink
 Original sink captured before Sunshine switched devices.
 
std::unique_ptr< std::atomic_bool > sink_flag
 Tracks whether the capture sink was already switched.
 

Detailed Description

Shared audio device state used while streams are active.


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