49 Commits

Author SHA1 Message Date
dependabot[bot] 965c91a428 build(deps): bump third-party/lizardbyte-common from 06cd442 to 011ad2b (#5457)
* build(deps): bump third-party/lizardbyte-common

Bumps [third-party/lizardbyte-common](https://github.com/LizardByte/lizardbyte-common) from `06cd442` to `011ad2b`.
- [Release notes](https://github.com/LizardByte/lizardbyte-common/releases)
- [Commits](https://github.com/LizardByte/lizardbyte-common/compare/06cd442b808f02f1674f3192a84d25b9a503c482...011ad2bb139083dcf4ec21f9c09f07470891a668)

---
updated-dependencies:
- dependency-name: third-party/lizardbyte-common
  dependency-version: 011ad2bb139083dcf4ec21f9c09f07470891a668
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* style: run clang-format across C++ sources

Reformatted conditionals, loops, and long function calls across core, platform, NVENC, and test helper code to match updated formatting rules, including minor spacing normalization in type declarations. These are style-only edits with no intended behavior changes.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2026-07-28 08:08:12 -04:00
martona f9d1aca72e build(macos): configure C++ standard and ICU root (#5101) 2026-05-13 19:01:34 -04:00
David Lane 2b7af2119d refactor: replace macros with constexpr/consts (#4791) 2026-02-28 18:22:33 -05:00
David Lane ab52e27e0e fix(audio-info): crash when device name contains special characters (#4095) 2026-01-16 22:41:23 -05:00
ReenigneArcher fc7b9e30c8 style(sonar): fix cpp:S4962 (#4140) 2025-08-08 00:45:53 -04:00
ReenigneArcher dbe80d0f92 style(sonar): fix cpp:S6185 (#4133) 2025-08-07 23:17:13 -04:00
ReenigneArcher 9f101fb546 style(sonar): fix cpp:S3806 (#4129) 2025-08-04 23:30:48 -04:00
ReenigneArcher 274b998ec5 build(cmake): bump c++ to 23 (#4096) 2025-07-19 09:00:44 -04:00
ReenigneArcher 1938385bf0 build(windows): fix gcc15 compatibility (#3946) 2025-06-07 16:29:45 -04:00
ReenigneArcher 7d75e4b75f build(cmake): update policies (#3775) 2025-04-03 19:09:40 -04:00
ReenigneArcher c2420427b1 style: adjust clang-format rules (#2186)
Co-authored-by: Vithorio Polten <reach@vithor.io>
2025-01-19 22:34:47 -05:00
Cameron Gutman 8392bdc98f feat(capture/windows): hook APIs to avoid output reparenting that breaks DDA (#3530)
* Revert "feat(ddprobe): allow to manually specify gpu preference (#3521)"

This reverts commit 6a233cbcbf.

* Keep display revert delay input type change from 6a233cbcb

* Remove ddprobe

* feat(capture/windows): hook APIs to avoid output reparenting that breaks DDA
2025-01-12 17:11:03 -06:00
Chase Payne fceda35d44 fix: automatic selection for hybrid GPU and IDDSampleDriver users (#3002)
* Fix frame capture and output duplication for dual GPU setups and virtual displays

- Added `test_frame_capture` function to verify if frames are successfully captured and not empty.
- Fixes issues with virtual displays such as IDDSampleDriver when using more than one GPU.

Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
Co-authored-by: Cameron Gutman <aicommander@gmail.com>
2024-09-29 20:32:34 +00:00
ReenigneArcher 1dd4b68e1c docs(src): add examples alias and general cleanup (#2763) 2024-06-28 08:34:14 -04:00
Tejas Rao 7fb8c76590 Use C++20. (#2322) 2024-04-26 15:49:15 -04:00
Cameron Gutman 93e622342c Quote the path to sunshinesvc.exe when launching the termination helper (#2379) 2024-04-06 19:21:03 -04:00
ReenigneArcher 328a300550 build(cmake): use CMAKE_SOURCE_DIR property (#2091) 2024-02-03 15:29:09 -05:00
Cameron Gutman f64712f277 Always reset the thread desktop before calling DuplicateOutput()
Otherwise capture will fail if the thread desktop is different than the current input desktop (ex: UAC secure desktop is active)
2024-01-18 19:14:45 -06:00
Cameron Gutman d07f5dbd1b Fix audio code build with new MinGW headers 2023-07-30 16:35:24 -04:00
Cameron Gutman 9a65c91671 Rename SunshineSvc to SunshineService
This avoids a MalwareBytes false positive.

Fixes #1126
2023-05-26 17:54:38 -05:00
Cameron Gutman f5e3353f82 Fix resolutions reported by dxgi-info.exe on high DPI systems 2023-05-24 18:23:32 -05:00
Cameron Gutman 9955890023 Fix console session changes via fast user switching
We need to respawn Sunshine.exe in the new console session.
2023-05-15 19:11:51 -06:00
ReenigneArcher 4ca6dc6c8e docs: update file level doxygen blocks (#1258) 2023-05-07 18:12:39 -04:00
Cameron Gutman e8963b8255 Only modify channel-related format attributes
Specifying sample rate will fail on devices using 192 KHz sample rate
2023-05-07 11:52:57 -05:00
Cameron Gutman e1651461fb Add 5.1 Side and Quadraphonic configs 2023-05-07 11:52:57 -05:00
Cameron Gutman e821f4d140 Fix misleading channel support information
All formats except the mix format were reported as unsupported, even if they were subsets of the mix format
2023-05-07 11:52:57 -05:00
Chase Payne 430a439698 Elevated Commands Redesign (#1123) 2023-04-29 00:22:01 -05:00
Cameron Gutman f51876893e Stop the service if the user quits via the tray icon 2023-04-16 16:16:03 -05:00
ReenigneArcher 21eb4eb6dd clang: adjust formatting rules (#1015) 2023-03-27 21:45:29 -04:00
Chase Payne c2fba6f651 Add Support for Safely Elevating Administrator Privileges (#1036) 2023-03-27 10:51:48 -04:00
Cameron Gutman da390c37db Improve reliability of hybrid graphics detection (#801) 2023-01-20 22:12:16 -06:00
Cameron Gutman 49fc618682 Add support for hybrid graphics systems (NVIDIA Optimus) (#782) 2023-01-17 23:55:44 -06:00
Cameron Gutman cc688c7845 Implement process and thread priority adjustments (#691) 2023-01-03 22:05:00 -05:00
Cameron Gutman 8ad7af86c0 Graceful termination on shutdown, logoff, and service stop (#647) 2022-12-29 09:32:23 -05:00
ReenigneArcher 88a450bf1f update docs (#574) 2022-12-28 16:30:32 -05:00
Cameron Gutman 1041f87a5d Spawn Sunshine.exe in a job object, so it is terminated if SunshineSvc.exe dies (#602) 2022-12-22 13:09:45 -05:00
Cameron Gutman 8a99187562 Fix SunshineSvc hanging if an error occurs during startup (#598) 2022-12-21 16:41:48 -05:00
ReenigneArcher 663a92ce33 install bat scripts on windows 2022-08-14 22:16:20 -04:00
ReenigneArcher a4acaf15b0 move sunshine to src
- this will allow for common cpp workflow files within org
2022-08-07 23:37:57 -04:00
Cameron Gutman b4255e22aa Write Sunshine log output to disk and hide the window 2021-08-03 19:27:23 -05:00
Cameron Gutman d15c1af152 Add uninstall-service.bat 2021-08-03 18:41:23 -05:00
Cameron Gutman 0140989f3a Add Win32 service to run Sunshine as LocalSystem on login 2021-08-03 18:41:23 -05:00
loki b119121e10 Change default audio device on Windows 2021-05-21 13:53:12 +02:00
loki 3d8a99f541 clang-format 2021-05-17 21:21:57 +02:00
loki 33a330fd6c Downmix surround 5.1 to stereo 2021-05-14 21:44:20 +02:00
loki 753f57c71b Remove dependency on a library for a single function 2020-02-01 10:25:37 +01:00
loki aa60cb7ebc Improve compilation time 2020-01-27 20:10:45 +01:00
loki afbc7d894f Created tool to identify different audio-sinks 2020-01-24 22:34:09 +01:00
loki 95f90501e4 Created tool to display the names of the dxgi devices 2020-01-23 23:43:39 +01:00