suyu/src/core
Kelebek1 0857d6a3db Decouple audio processing and run at variable rate
Currently, processing of audio samples is called from AudioRenderer's Update method, using a fixed 4 buffers to process the given samples. Games call Update at variable rates, depending on framerate and/or sample count, which causes inconsistency in audio processing. From what I've seen, 60 FPS games update every ~0.004s, but 30 FPS/160 sample games update somewhere between 0.02 and 0.04, 5-10x slower. Not enough samples get fed to the backend, leading to a lot of audio skipping.

This PR seeks to address this by de-coupling the audio consumption and the audio update. Update remains the same without calling for buffer queuing, and the consume now schedules itself to run based on the sample rate and count.
2021-06-27 15:58:07 +01:00
..
arm common: Replace common_sizes into user-literals 2021-06-24 09:27:40 -07:00
crypto General: Resolve fmt specifiers to adhere to 8.0.0 API where applicable 2021-06-23 13:48:21 -04:00
file_sys General: Resolve fmt specifiers to adhere to 8.0.0 API where applicable 2021-06-23 13:48:21 -04:00
frontend General: Resolve fmt specifiers to adhere to 8.0.0 API where applicable 2021-06-23 13:48:21 -04:00
hle Decouple audio processing and run at variable rate 2021-06-27 15:58:07 +01:00
loader common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
memory core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
network
tools
CMakeLists.txt hle: api_version: Add HLE API version constants 2021-06-16 01:46:45 -04:00
constants.cpp
constants.h
core.cpp core: Make is_powered_on atomic 2021-06-22 04:33:07 -03:00
core.h
core_timing.cpp
core_timing.h
core_timing_util.h
cpu_manager.cpp core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
cpu_manager.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
device_memory.cpp core: Make use of fastmem 2021-06-11 17:27:06 +02:00
device_memory.h core: Make use of fastmem 2021-06-11 17:27:06 +02:00
hardware_interrupt_manager.cpp
hardware_interrupt_manager.h
hardware_properties.h
memory.cpp General: Add settings for fastmem and disabling adress space check. 2021-06-11 17:27:17 +02:00
memory.h hle: kernel: Use host memory allocations for KSlabMemory. 2021-05-20 21:41:52 -07:00
perf_stats.cpp common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
perf_stats.h Merge pull request #6317 from ameerj/fps-fix 2021-05-18 19:56:29 -07:00
reporter.cpp fsp_srv: Fix filesystem access logging 2021-06-16 00:06:02 -04:00
reporter.h fsp_srv: Fix filesystem access logging 2021-06-16 00:06:02 -04:00
telemetry_session.cpp configure_graphics: Add Accelerate ASTC decoding setting 2021-06-15 20:19:00 -04:00
telemetry_session.h