Skip to content

Commit 015e966

Browse files
committed
review comments
1 parent 3c7c9f0 commit 015e966

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

cmake/compile_definitions/common.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ list(APPEND SUNSHINE_EXTERNAL_LIBRARIES
135135
${MINIUPNP_LIBRARIES}
136136
${CMAKE_THREAD_LIBS_INIT}
137137
enet
138+
libdisplaydevice::display_device
138139
opus
139140
${FFMPEG_LIBRARIES}
140141
${Boost_LIBRARIES}
141142
${OPENSSL_LIBRARIES}
142-
${PLATFORM_LIBRARIES}
143-
libdisplaydevice::display_device)
143+
${PLATFORM_LIBRARIES})

src/display_device.h

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,9 @@ namespace display_device {
2727
* @brief Get the singleton instance.
2828
* @returns Singleton instance for the class.
2929
*
30-
* EXAMPLES:
31-
* ```cpp
30+
* @examples
3231
* session_t& session { session_t::get() };
33-
* ```
32+
* @end_examples
3433
*/
3534
[[nodiscard]] static session_t &
3635
get();
@@ -39,10 +38,9 @@ namespace display_device {
3938
* @brief Initialize the singleton and perform the initial state recovery (if needed).
4039
* @returns A deinit_t instance that performs cleanup when destroyed.
4140
*
42-
* EXAMPLES:
43-
* ```cpp
41+
* @examples
4442
* const auto session_guard { session_t::init() };
45-
* ```
43+
* @end_examples
4644
*/
4745
[[nodiscard]] static std::unique_ptr<platf::deinit_t>
4846
init();
@@ -52,12 +50,11 @@ namespace display_device {
5250
* @param output_name The user-configurable output name.
5351
* @returns Mapped display name or empty string if the output name could not be mapped.
5452
*
55-
* EXAMPLES:
56-
* ```cpp
53+
* @examples
5754
* session_t& session { session_t::get() };
5855
* const auto mapped_name_config { session.get_display_name(config::video.output_name) };
5956
* const auto mapped_name_custom { session.get_display_name("{some-device-id}") };
60-
* ```
57+
* @end_examples
6158
*/
6259
[[nodiscard]] std::string
6360
map_output_name(const std::string &output_name) const;

src_assets/common/assets/web/public/assets/locale/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
"origin_web_ui_allowed_pc": "Only localhost may access Web UI",
254254
"origin_web_ui_allowed_wan": "Anyone may access Web UI",
255255
"output_name_desc_unix": "During Sunshine startup, you should see the list of detected displays. Note: You need to use the id value inside the parenthesis.",
256-
"output_name_desc_windows": "Manually specify a display device id to use for capture. If unset, the primary display is captured. Note: If you specified a GPU above, this display must be connected to that GPU. During Sunshine startup, you should see a list of available display devices and their ids in the log output, e.g.:",
256+
"output_name_desc_windows": "Manually specify a display device id to use for capture. If unset, the primary display is captured. Note: If you specified a GPU above, this display must be connected to that GPU. During Sunshine startup, you should see the list of detected displays. Below is an example; the actual output can be found in the Troubleshooting tab.",
257257
"output_name_unix": "Display number",
258258
"output_name_windows": "Display Device Id",
259259
"ping_timeout": "Ping Timeout",

0 commit comments

Comments
 (0)