Sunshine latest
Self-hosted game stream host for Moonlight.
config::video_t::dd_t Struct Reference
Collaboration diagram for config::video_t::dd_t:
[legend]

Classes

struct  mode_remapping_entry_t
 
struct  mode_remapping_t
 
struct  workarounds_t
 

Public Types

enum class  config_option_e {
  disabled , verify_only , ensure_active , ensure_primary ,
  ensure_only_display
}
 
enum class  hdr_option_e { disabled , automatic }
 
enum class  refresh_rate_option_e { disabled , automatic , manual }
 
enum class  resolution_option_e { disabled , automatic , manual }
 

Public Attributes

std::chrono::milliseconds config_revert_delay
 Time to wait until settings are reverted (after stream ends/app exists).
 
config_option_e configuration_option
 
hdr_option_e hdr_option
 
std::string manual_refresh_rate
 Manual refresh rate in case refresh_rate_option == refresh_rate_option_e::manual.
 
std::string manual_resolution
 Manual resolution in case resolution_option == resolution_option_e::manual.
 
mode_remapping_t mode_remapping
 
refresh_rate_option_e refresh_rate_option
 
resolution_option_e resolution_option
 
workarounds_t wa
 

Member Enumeration Documentation

◆ config_option_e

Enumerator
disabled 

Disable the configuration for the device.

verify_only 
See also
display_device::SingleDisplayConfiguration::DevicePreparation
ensure_active 
See also
display_device::SingleDisplayConfiguration::DevicePreparation
ensure_primary 
See also
display_device::SingleDisplayConfiguration::DevicePreparation
ensure_only_display 
See also
display_device::SingleDisplayConfiguration::DevicePreparation

◆ hdr_option_e

Enumerator
disabled 

Do not change HDR settings.

automatic 

Change HDR settings and use the state requested by Moonlight.

◆ refresh_rate_option_e

Enumerator
disabled 

Do not change refresh rate.

automatic 

Change refresh rate and use the one received from Moonlight.

manual 

Change refresh rate and use the manually provided one.

◆ resolution_option_e

Enumerator
disabled 

Do not change resolution.

automatic 

Change resolution and use the one received from Moonlight.

manual 

Change resolution and use the manually provided one.


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