476 Commits

Author SHA1 Message Date
Cameron Gutman
30464979dc Enable audio encryption unless on a slow CPU 2021-07-24 16:25:03 -05:00
Cameron Gutman
b907c4b608 Use the same remote streaming and packet size defaults as other clients 2021-07-24 15:57:55 -05:00
Cameron Gutman
56d1fee17b Default to 60 FPS at all resolutions
The time of most hardware maxing at 1080p30 has long since passed.
2021-07-24 15:40:59 -05:00
Cameron Gutman
2fa276182f Fix ALSA and PA mappings for 7.1 surround sound 2021-07-24 15:35:27 -05:00
Cameron Gutman
1cb4699057 Start plumbing 7.1 surround sound support 2021-07-24 08:14:03 -05:00
Cameron Gutman
01d43ff596 FFmpeg VAAPI doesn't need slices and is incompatible with RFI 2021-07-24 07:56:41 -05:00
Cameron Gutman
98092f8baf FFmpeg software decoding doesn't support RFI for HEVC 2021-07-24 07:55:52 -05:00
Cameron Gutman
83982d3981 Change default value of 'unsupported' to true to match other clients 2021-07-24 07:50:55 -05:00
Cameron Gutman
615ed824ac Use 48KHz sample rate for PA test to match the actual stream 2021-07-24 07:33:07 -05:00
Cameron Gutman
7109301a46 Never use audio callbacks for fake platform 2021-07-24 07:31:01 -05:00
Mariotaku Lee
9cec4208a4 Fixed trigger left/right range
Added .ignore for common build dir
2021-04-19 15:41:53 +09:00
Romain Tisserand
5b6639c8a7 Fix gcc-10 compilation (fno-common flag enabled by default) 2020-07-11 21:29:09 +02:00
Iwan Timmer
95104759ab Fix missed merging conflicts
Fixes commit 4711129
2020-04-19 11:37:02 +02:00
Iwan Timmer
4711129d14 Merge remote-tracking branch 'tomblind/touchscreen' 2020-04-18 21:43:09 +02:00
Tom
5beb32d066 Emulating right click on touch screens with a long press 2020-04-18 07:34:52 -06:00
Tom
6b8260c1e5 refactored touchscreen code for clarity and safety, and removed hacked in rotation 2020-04-18 07:03:59 -06:00
Tom
b22b07e5a0 Applied display rotation to mouse movement in evdev 2020-04-17 16:50:04 -06:00
Tom
aae24557f9 Added transform flag to mmal display settings so rotation takes effect 2020-04-17 12:57:51 -06:00
Tom
4cd2d4b8dc Included video.h in pi and mmal to give access to rotation flags 2020-04-17 11:19:01 -06:00
Tom
ceacef6329 Added display rotation support to mmal decoder 2020-04-17 10:59:15 -06:00
Tom
4bfeee690a Added command line option to control omx rotation 2020-04-17 10:44:16 -06:00
Tom
c9a624595b initial touchscreen support (rotated 90 degrees for the moment) 2020-04-13 13:16:25 -06:00
Tom
a205edc1c7 forced omx rotation to 90 degrees 2020-04-13 13:03:32 -06:00
Iwan Timmer
7f856d3284 Warn about unsupported resolutions in combination with SOPS
When using unsupported resolutions SOPS will default to 720p60
2020-03-17 22:37:18 +01:00
Iwan Timmer
922cd29adc Add MMAL video decoder 2020-03-17 22:17:34 +01:00
Albert Andaluz
4528b78d81 Added git branch name and short hash to moonlight binary 2020-01-05 22:00:30 +01:00
Albert Andaluz
fe1c203b10 when sending CTRL+ALT+SHIFT+Q key sequence for disconnecting from the remote host, always send a keydown event to avoid leaving the remote host keyboard in key_UP state. (seen with Geforce Experience 3.17) 2020-01-05 22:00:30 +01:00
Hugo Hromic
ecf09e8907 Add option for disabling all input (view-only mode) in streaming session
* By default this option is set to `false` and can be enabled using the
  new `-viewonly`/`viewonly` command-line/config options.
* When enabled, none of the input modules will be initialised, making
  the streaming session view-only, i.e. no input is sent to host.

To facilitate implementation, SDL initialisation with `sdl_init()` was moved
a bit earlier in the code to decouple from input initialisation.
2019-10-05 21:23:36 +01:00
Hugo Hromic
4ee5015557 Clarify -localaudio option in help text
* It makes audio play on host computer instead of remote client
2019-10-05 19:13:37 +01:00
Hugo Hromic
6c8b3bb29d Remove redundant config parsing conditionals
* They are already covered in the last `else` block
2019-10-05 19:13:37 +01:00
Hugo Hromic
434dba31de General codebase clean-ups (no code changes)
* Remove trailing spaces
* Replace TABs with spaces
* Add missing indentation
2019-10-05 19:13:24 +01:00
Hugo Hromic
c8e090a5e1 Minor config codebase clean-ups for consistency
* Improve readability of conditional operators
* Remove unnecessary trailing semi-colon in #define
* Use NULL-constant instead of zero-value
2019-10-05 19:12:48 +01:00
Hugo Hromic
243ef8ae0b
Also grab mouse input devices (fixes #756) 2019-09-12 17:41:00 +01:00
5schatten
52efef7a66 video/rockchip: define READ_BUF_SIZE as a size of 0x00100000
If you use SZ_1M to define READ_BUF_SIZE you also need to include the sizes.h header file which is apparently missing.
2019-07-03 18:00:12 +02:00
Iwan Timmer
005407083b Merge remote-tracking branch 'cgutman/fix-warnings' 2019-05-01 19:55:50 +02:00
Cameron Gutman
f305e235f9 Fix bugs found by compiler warnings 2019-04-30 19:50:22 -07:00
Cameron Gutman
2f687cc58a Don't modify the decode unit in place 2019-04-30 18:55:18 -07:00
Iwan Timmer
2cb725314c Add connection status update handler 2019-04-29 19:09:31 +02:00
Iwan Timmer
10881d4f0d Update moonlight-common-c 2019-04-29 19:05:48 +02:00
Jose Antonio Postigo
7b46b4b2ea Minor fixes to get rumble working in evdev devices 2019-04-18 17:32:16 +02:00
Hugo Hromic
212eac6359 Only grab input devices if they are keyboards 2019-02-24 16:17:46 +00:00
Iwan Timmer
d7ac8654e5 Do signal masking before thread creation 2019-02-17 22:03:14 +01:00
Iwan Timmer
292a26d6ad Initial attempt to implement rumble for evdev 2019-02-16 16:12:06 +01:00
Iwan Timmer
0868f0295e Port rumble support for SDL from moonlight-qt 2019-02-16 16:11:40 +01:00
Hugo Hromic
d0f5f90dea Add option for sending quit app request after quitting streaming session
* By default this option is set to `false` and can be enabled using the
  new `-quitappafter`/`quitappafter` command-line/config options.
2019-01-24 23:11:57 +01:00
Hugo Hromic
7a32234c0b Fixed permissions on source file
* File was set to 0755 permissions instead of 0644
2019-01-24 20:56:01 +01:00
Iwan Timmer
497cb87ea5 Merge remote-tracking branch 'hhromic/code-cleanup' 2019-01-18 19:10:28 +01:00
Hugo Hromic
f7039957cd x11: use QUIT_KEY constant instead of direct code
For consistency in the evdev, sdl and x11 input drivers.
2018-12-01 15:31:42 +00:00
Hugo Hromic
9a1db0919b Rename QUIT_MODIFIERS and MODIFIERS constants to ACTION_MODIFIERS
For consistency in the evdev, sdl and x11 input drivers.
2018-12-01 15:23:59 +00:00
AreaScout
aee5d9968b Add: register all for FFmpeg 2018-11-28 09:56:26 +00:00