Commit Graph

62211 Commits

Author SHA1 Message Date
Felipe Tavares
ea81928e39
Fast-Forward Audio Resampling (#15173)
* 🎵 Fast forward audio resampling. Solves #15160.

Previously, we avoided doing any resampling while fastforwarding based
on the assumption it was impossible to make the audio not crackle due to
both flush-to-flush timing fluctuations and timer accuracy.

However, turns out this is not the case. The audio doesn't "crackle" per
se when the timing fluctuates! It's just that the sounds don't make
sense since the time compression and decompression caused by the flush
time fluctuations mess with the audio consistency.

To work around that, we introduce a running average flush delta time
that makes sure the audio is both resampled to approximately the correct
rate and consistent.

This was tested in two settings:

- Limited rate fastforwarding (2x-4x)
- Unlimited fastforwarding

In both cases it seems to work well, but with unlimited fastforwarding
it's just high pitched and annoying, so this is probably the most useful
in the 2x to 4x range.

* Move declartion to support C89

* resampling ratio upper and lower bounds

* Add toggle for speeding up audio
2023-04-20 17:14:47 +02:00
github-actions
91765d5ca5 Fetch translations from Crowdin 2023-04-20 00:11:18 +00:00
github-actions
b715cf1a46 Fetch translations from Crowdin 2023-04-19 00:11:41 +00:00
github-actions
97ad745f15 Fetch translations from Crowdin 2023-04-18 00:11:13 +00:00
libretroadmin
52ba0fce34 Cleanups/variable cleanups/less snprintf calls 2023-04-17 15:26:30 +02:00
libretroadmin
0849a51ecc Small cleanups 2023-04-17 15:04:46 +02:00
sonninnos
a8994860fc
Reinit audio on audio sync toggle (#15204) 2023-04-17 04:24:00 +02:00
github-actions
bdc34f2046 Fetch translations from Crowdin 2023-04-17 00:11:49 +00:00
Jamiras
8ea9651d09
(cheevos) expand leaderboard visibility settings (#15201)
* migrate cheevos_leaderboard_enabled setting to cheevos_visibility_lboard_X

* provide translatable strings for leaderboard messages
2023-04-16 19:44:46 +02:00
github-actions
19aeb52cbc Fetch translations from Crowdin 2023-04-16 00:12:25 +00:00
sonninnos
3c37da6bd1
Start directory browsing from current value (#15199) 2023-04-15 20:01:04 +02:00
warmenhoven
11a7cc9d23
Include audio and video filters in ios/tvos bundles (#15197) 2023-04-15 11:55:46 +02:00
github-actions
800094b750 Fetch translations from Crowdin 2023-04-15 00:11:54 +00:00
sonninnos
5722d90a38
Show version in System Information + help/log version reformat (#15195) 2023-04-14 21:28:09 +01:00
sonninnos
dd106c4f4a
Show current video + audio drivers in statistics (#15193) 2023-04-14 20:15:54 +02:00
sonninnos
e2a264700a
Audio output menu item reinit fix (#15190) 2023-04-14 07:18:21 +02:00
sonninnos
07c371533f
WASAPI Frame Delay fix + cleanups (#15187) 2023-04-13 20:20:47 +02:00
Hennadii Chernyshchyk
4d8db0b5b8
Enable networking for RG350 (#15182) 2023-04-11 17:31:49 +02:00
aliaspider
50b9454f69
d3d12: enable blending when drawing the menu. (#15181) 2023-04-11 06:56:48 +01:00
github-actions
4dc9c1da0c Fetch translations from Crowdin 2023-04-11 00:10:59 +00:00
libretroadmin
d48bd7244a Libretro API update - add new context hardware render enums - enables
autodetection of DX12 for PS2 core
2023-04-11 00:54:02 +02:00
Colin Kinloch
f19def349f
(Wayland) Remove splash screen (#15178) 2023-04-10 16:37:48 +02:00
aliaspider
a79dc19b6c
D3D12: move fence signaling out of d3d12_gfx_sync. (#15179) 2023-04-10 16:37:36 +02:00
Colin Kinloch
e8ec3031a8
(Wayland) wp_viewporter + scaling fix (#15176)
* Use wp_viewporter
* Set buffer scale to highest of displays the window is touching
* Fixes fullscreen issue mentioned in #15168
* Simplify process of adding new wayland protocols
2023-04-10 06:29:41 +01:00
github-actions
7874a64529 Fetch translations from Crowdin 2023-04-10 00:10:49 +00:00
aliaspider
0adbd6905f
add D3D12 HW_render support. (#15177) 2023-04-10 01:08:44 +01:00
zoltanvb
4350ec24be
Support device list for PulseAudio (#15174)
As mentioned in https://github.com/libretro/RetroArch/issues/14954,
audio device selection works only if respective functions are
implemented in audio driver.

Added sink listing and selection. Common menu code takes care of the rest.
2023-04-09 18:15:48 +01:00
libretroadmin
c247e6f3d6 Bump max users to 8 2023-04-09 19:08:33 +02:00
Colin Kinloch
d625ca3762
(Wayland) Only display splash when necessary (#15168) 2023-04-08 02:41:07 +01:00
github-actions
2f4ae88b06 Fetch translations from Crowdin 2023-04-08 00:10:38 +00:00
mudlord
e5ae518572
Remove mudlord. (#15164) 2023-04-07 06:05:11 +01:00
CyberLabSystems
364356dde6
CyberLab Custom Blargg NTSC Video Filter Preset Update (#14426)
* Update and rename Blargg_NTSC_SNES_Custom_pseudo_PCE_PSX_SNES_Composite.filt to Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_Composite.filt

Change "their" to "his" in the credits because it's the appropriate pronoun.
Remove "PSX" from the filename because it doesn't seem to work with any currently available PSX core.

* Update and rename Blargg_NTSC_SNES_Custom_pseudo_PCE_PSX_SNES_S-Video.filt to Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_S-Video.filt

Change "their" to "his" in the credits because it's the appropriate pronoun.
Remove "PSX" from the filename because it doesn't seem to work with any currently available PSX core.

* Update and rename Blargg_NTSC_SNES_Custom_pseudo_PCE_PSX_SNES_RGB.filt to Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_RGB.filt

Change "their" to "his" in the credits because it's the appropriate pronoun.
Remove "PSX" from the filename because it doesn't seem to work with any currently available PSX core.

* Update Blargg_NTSC_SNES_Custom_pseudo_MD_S-Video.filt

Change "their" to "his" in the credits because it's the appropriate pronoun.

* Update Blargg_NTSC_SNES_Custom_pseudo_MD_Composite.filt

Change "their" to "his" in the credits because it's the appropriate pronoun.

* Rename Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_Composite.filt to Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_PSX_Composite.filt

Change "their" to "his" in the credits because it's the appropriate pronoun.

Revert filename to include "PSX" becsuse it works under certain conditions based on feedback.

* Rename Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_RGB.filt to Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_PSX_RGB.filt

Change "their" to "his" in the credits because it's the appropriate pronoun.

Revert filename to include "PSX" becsuse it works under certain conditions based on feedback.

* Rename Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_S-Video.filt to Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_PSX_S-Video.filt

Change "their" to "his" in the credits because it's the appropriate pronoun.

Revert filename to include "PSX" becsuse it works under certain conditions based on feedback.

* Delete e -i HEAD~5

Remove because it's just a garbage file.

* Rename Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_PSX_Composite.filt to Blargg_NTSC_SNES_Custom_pseudo_PCE_PSX_SNES_Composite.filt

* Rename Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_PSX_RGB.filt to Blargg_NTSC_SNES_Custom_pseudo_PCE_PSX_SNES_RGB.filt

* Rename Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_PSX_S-Video.filt to Blargg_NTSC_SNES_Custom_pseudo_PCE_PSX_SNES_S-Video.filt
2023-04-07 02:08:55 +01:00
github-actions
b133bf8834 Fetch translations from Crowdin 2023-04-07 00:10:51 +00:00
Jamiras
2a7480d1e0
collapse trackers with same value definition (#15163) 2023-04-06 22:36:38 +02:00
warmenhoven
486c5d5cba
Compile dsp/video filters built in on osx (#15161) 2023-04-06 15:18:40 +02:00
warmenhoven
29842aabdc
Fix steam osx core path (#15158) 2023-04-06 06:06:10 +02:00
Jamiras
08a5288144
upgrade to rcheevos 10.7 (#15152) 2023-04-04 15:06:44 +01:00
warmenhoven
54055558f1
Fix several warnings (#15153) 2023-04-04 15:06:34 +01:00
OsirizX
6cc05ab5ce
(PSL1GHT) Add overlay support (#15149) 2023-04-04 15:05:59 +01:00
libretroadmin
f46beade21 (Android) Buildfix 2023-04-03 22:47:50 +02:00
libretroadmin
96a4417e38 (Vulkan) vulkan_surface_create - we already set all members of this
struct - memset unnecessary
2023-04-03 20:51:41 +02:00
libretroadmin
223f063894 Simplify win32_common.c 2023-04-03 20:26:04 +02:00
github-actions
e5737ce18d Fetch translations from Crowdin 2023-04-03 00:11:10 +00:00
Valentin
b0b5a40d44
add overlay parameter to control x/y separation in auto-scale mode (#15106) 2023-03-31 01:33:39 +01:00
github-actions
d28417ca84 Fetch translations from Crowdin 2023-03-31 00:11:35 +00:00
github-actions
0817022d95 Fetch translations from Crowdin 2023-03-30 00:11:39 +00:00
github-actions
dc72ab6ae3 Fetch translations from Crowdin 2023-03-29 00:13:17 +00:00
github-actions
dd62f3a9fb Fetch translations from Crowdin 2023-03-28 00:12:21 +00:00
aliaspider
d3fad528ce
fix memory corruption in d3d11_gfx_init. (#15139) 2023-03-27 16:04:55 +01:00
github-actions
3a41738b61 Fetch translations from Crowdin 2023-03-27 00:11:47 +00:00