Henrik Rydgård
9a2ca4836a
Add missing locking to AsyncIOManager
2023-05-04 23:56:46 +02:00
Henrik Rydgård
3800e88ecb
Fix wrong "game is running slow" warning on high-refresh-rate devices.
2023-04-30 11:01:09 +02:00
Henrik Rydgård
349b73acec
Move the resampler usage to a common file, AudioCommon. ( #17176 )
...
* Move the resampler usage to a common file, AudioCommon.
Ports that don't want to use the resampler can now simply exclude that
file and provide their own implementation. Next up, libretro will be
converted to do it that way.
* Android.mk typo
* libretro makefile fix
* libretro buildfix
* libretro: try a different approach for the temporary solution
* duh
* double duh
2023-03-24 17:19:57 +01:00
Henrik Rydgård
e95662cebf
Separate out the core interface around the resampler, in order to move it out from __sceAudio.
2023-03-24 14:48:53 +01:00
Unknown W. Brackets
9909e0d668
Sas: Adjust Rockman 2 sustain on init only.
2023-01-14 16:57:49 -08:00
Unknown W. Brackets
92585403c4
Sas: Make ADSR fields private.
2023-01-14 16:55:40 -08:00
Henrik Rydgård
b118ffadea
Add workaround for hung music notes in Rockman Dash 2
...
Fixes #11442 . Or at least should, I haven't tested this, just followed the
discussion in the issue.
According to this issue, this is a game bug that happens on real hardware
too, due to a lousy job porting the game to the PSP, most likely, which has
different ADSR (note envelope) behavior.
2023-01-12 11:33:59 +01:00
Unknown W. Brackets
dea9cac16c
Core: Add range checks to some helpers and similar.
2023-01-09 16:56:18 -08:00
Unknown W. Brackets
c44d787df4
Mpeg: Check memory access range on GetPointer().
2023-01-09 16:53:10 -08:00
Unknown W. Brackets
68cfaf90ad
Mpeg: Move some fields to private.
2023-01-07 06:54:25 -08:00
Unknown W. Brackets
94bab4506f
Mpeg: Close codecs from new streams.
...
These were actually leaking.
2023-01-07 06:44:02 -08:00
Henrik Rydgård
b56eef487c
Strict mode checking - no way to forget detaching now.
...
And if we forget to attach, boom. Hopefully I caught all of them.
2023-01-05 08:38:52 +01:00
Unknown W. Brackets
9cfcbc46e6
Global: Cleanup initialization/pointer checks.
...
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
a7b7bf7826
Global: Set many read-only params as const.
...
This makes what they do and which args to use clearer, if nothing else.
2022-12-10 21:13:36 -08:00
lainon
3cdf72b68b
Better readability and optimization insertion into container by replacing 'insert' -> 'emplace', 'push_back' -> 'emplace_back'
2022-09-30 12:35:28 +03:00
Henrik Rydgård
e6403d7157
Split GetPointer into two versions, to help with const correctness
2022-07-24 13:26:19 +02:00
ZiHan Huang
33aeac694d
ffmpeg: fix compile bug
...
Err is generated when USE_FFMPEG is set to OFF, The Camera
module relies on FFMPEG
Signed-off-by: ZiHan Huang <zack.huang@rock-chips.com >
2022-06-24 16:50:56 +08:00
Unknown W. Brackets
2479d52202
Global: Reduce includes of common headers.
...
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets
3df6cb704f
Global: Fix some type conversion warnings.
...
Hidden by some warning disables.
2022-01-30 16:09:33 -08:00
Unknown W. Brackets
48b597a1b9
Display: Move core counters/stats to HW file.
...
This separates things better, so not everything is pulling in HLE.
2022-01-30 11:53:48 -08:00
Unknown W. Brackets
ad2e380987
Display: Move listeners to separate HW file.
...
Mixing this in with the HLE management funcs was messy.
2022-01-30 09:41:08 -08:00
Unknown W. Brackets
d45fe93588
Mp3: Output PCM data using even/odd buffer slot.
...
This makes sense since the audio APIs are all async.
2022-01-27 00:22:44 -08:00
Unknown W. Brackets
914d022eef
Mp3: Allow decode with NULL out pointer.
2022-01-27 00:22:44 -08:00
Unknown W. Brackets
4903e14aae
Mp3: Cleanup AuCtx constructor.
2022-01-27 00:22:43 -08:00
Unknown W. Brackets
b1e31d89e1
Audio: Correct protection against time skew.
2021-10-10 15:05:51 -07:00