Sunshine master
Self-hosted game stream host for Moonlight.
pipewire::shared_state_t Struct Reference

PipeWire capture state shared with callback threads. More...

Public Attributes

std::atomic< int > color_primaries {0}
 PipeWire color-primaries metadata for the stream.
 
pw_stream_state current_state
 Current PipeWire stream state reported by callbacks.
 
std::string err_msg
 Last PipeWire error message reported by the stream.
 
std::atomic< int > negotiated_height {0}
 Height negotiated with PipeWire for the stream.
 
std::atomic< int > negotiated_width {0}
 Width negotiated with PipeWire for the stream.
 
pw_stream_state previous_state
 Previous PipeWire stream state reported by callbacks.
 
std::atomic< bool > stream_dead {false}
 Whether the PipeWire stream has been destroyed.
 
std::atomic< int > transfer_function {0}
 PipeWire transfer-function metadata for the stream.
 

Detailed Description

PipeWire capture state shared with callback threads.


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