Commit Graph

32 Commits

Author SHA1 Message Date
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