Commit graph

1284 commits

Author SHA1 Message Date
sergystepanov
dae0b62eb0 Clean webrtc module 2026-06-04 22:36:30 +03:00
sergystepanov
00b52dde8d Reformat webrtc.js 2026-06-04 22:36:29 +03:00
sergystepanov
d42ad68ef3 Add api base64 decoder 2026-06-04 22:36:29 +03:00
sergystepanov
8faa698edc Flush ICE candidates only once 2026-06-04 22:36:29 +03:00
sergystepanov
e6258f11a1 Add readable message logging 2026-06-04 22:36:29 +03:00
sergystepanov
98449d0099 Remove WS message logging 2026-06-01 14:00:22 +03:00
sergystepanov
92f3e6378f Update WebRTC module state logging 2026-06-01 13:56:17 +03:00
sergystepanov
4c699d634b Inline start/stop webrtc methods 2026-06-01 13:45:02 +03:00
sergystepanov
440102fc1b Add more debug methods to WebRTC module 2026-06-01 12:12:26 +03:00
sergystepanov
ee56aba302 Update dependencies 2026-06-01 09:15:07 +03:00
sergystepanov
8ad1efe0a8 Remove testing code 2026-06-01 09:14:12 +03:00
sergystepanov
4745b10572 Add remote and local ICE IP filters 2026-05-27 18:54:17 +03:00
sergystepanov
1ab2cb7693 Update dependencies 2026-05-10 20:44:42 +03:00
sergystepanov
bde1fdab9c Optimize Dockerfile layering 2026-05-01 14:49:29 +03:00
sergystepanov
4c8a54b8f2 Update to ubuntu:plucky
Use the dynamic x264 library because the static libx264.a was removed from the packages in the latest Ubuntu.
2026-05-01 11:30:02 +03:00
sergystepanov
200e6f16f9 Update dependencies 2026-05-01 11:26:15 +03:00
sergystepanov
4066d987e6 Update dependencies 2026-04-25 13:09:11 +03:00
sergystepanov
42c088a0d9 Add navigator.keyboard null check
Browser can have a null keyboard property, so we need to check for nullability.
2026-03-10 10:09:28 +03:00
sergystepanov
d765de14dc Update to Go 1.26.0 2026-02-11 22:34:49 +03:00
sergystepanov
dc56c70acf Update to Go 1.26 2026-02-11 22:30:01 +03:00
sergystepanov
dfcf96e947 Update mouse input 2025-12-30 19:53:33 +03:00
sergystepanov
9e6efc2319 Update retropad input 2025-12-30 14:36:48 +03:00
sergystepanov
1d5bae0c62 Add analog triggers and pack axes into atomic int64
- Pack 4 analog axes (LX, LY, RX, RY) into single int64 for atomic access
- Pack L2/R2 analog triggers into single int32
- Reduce memory per port from 20 to 16 bytes
- Reduce atomic stores per SetInput from 5 to 3
- Add RETRO_DEVICE_INDEX_ANALOG_BUTTON support for analog trigger queries
- Fallback to digital (0/0x7FFF) for non-trigger analog button queries

Wire format: [BTN:2][LX:2][LY:2][RX:2][RY:2][L2:2][R2:2] (14 bytes)
2025-12-29 20:20:55 +03:00
sergystepanov
368bae8c07 Swap mutex to atomics in keyboard input 2025-12-28 21:25:33 +03:00
sergystepanov
58a19affcb Clean SDL/OpenGL functions 2025-12-27 01:58:14 +03:00
sergystepanov
8754a5edfa Tweak OpenGL framebuffer
Force alignment for GL ReadPixels and skip unbinding last framebuffer which makes it a bit faster.
2025-12-26 16:17:37 +03:00
sergystepanov
aeb41008c9 Remove room watchers 2025-12-24 21:25:03 +03:00
sergystepanov
059e19d790 Remove com.Uid from the API 2025-12-24 21:23:19 +03:00
sergystepanov
baa9bad6f8 Update dependencies 2025-12-22 15:38:17 +03:00
sergystepanov
94e13cb93b Clean api 2025-12-22 15:37:04 +03:00
sergystepanov
c800dd4bf9 Fix with go fix 2025-12-22 15:08:50 +03:00
sergystepanov
7c91d200e4 Update Go version to 1.26rc1 2025-12-17 23:12:50 +03:00
sergystepanov
d45daeab7a Tweak room join/creation logic 2025-12-15 18:42:41 +03:00
sergystepanov
b3ccea5f0e Refactor media buffer
Mostly cleanup.
2025-12-15 15:52:46 +03:00
sergystepanov
3178086dd7 Revert due to weird 32KHz mGBA issues
(fix later)
2025-12-14 22:29:27 +03:00
sergystepanov
1e4e5b3c65 Clean media buffer 2025-12-14 22:15:28 +03:00
sergystepanov
7c8e74716d Disable mGBA low-pass filter 2025-12-14 22:14:55 +03:00
sergystepanov
46a5799079 Fix media tests 2025-12-14 18:54:06 +03:00
sergystepanov
9feb788108 Make speexdsp statically linked 2025-12-14 17:01:04 +03:00
sergystepanov
e2f3e005ef Fix speex build libs 2025-12-14 16:31:13 +03:00
sergystepanov
9d54ea4c49 Add and use Speex audio resampler 2025-12-14 16:24:35 +03:00
sergystepanov
671e875f12 Add input cache for retropad, keyboard and mouse 2025-12-14 13:53:21 +03:00
sergystepanov
f708fce112 Revert "Try atomic-based locks in the same thread execution loop instead of a bunch of mutexes."
This reverts commit 460c466053.
2025-12-14 13:30:45 +03:00
sergystepanov
460c466053 Try atomic-based locks in the same thread execution loop instead of a bunch of mutexes. 2025-12-14 13:18:34 +03:00
sergystepanov
84ad0a4cac Add audio resampling option
You can now select between linear interpolation and nearest-neighbor resampling algorithms.
2025-12-13 23:56:38 +03:00
sergystepanov
129690e901 Fix map test 2025-11-22 22:21:05 +03:00
sergystepanov
9191861cab Use iterators in the custom map implementation 2025-11-22 22:09:38 +03:00
sergystepanov
c05e42f597 Cleanup nanoarch.go 2025-11-22 21:20:16 +03:00
sergystepanov
09a0c9c3f2 Revert "Add user input caching"
This reverts commit 859d0c8f1a.
2025-11-22 17:46:07 +03:00
sergystepanov
859d0c8f1a Add user input caching 2025-11-22 17:22:40 +03:00