Henrik Rydgård
e00ef04792
Granular queue: Use the current FPS to get an estimate for how long the maximum queue size should be.
2025-08-22 21:21:20 +02:00
Henrik Rydgård
a1d0f405b1
Remove quantization error thingy. Other cleanup
2025-08-22 21:21:19 +02:00
Henrik Rydgård
0fa7349f5a
Integrate Dolphin's granule based audio resampler.
...
Removed parts of it that were not relevant.
Working, it seems. Not sure about the buffer size thing.
Not defaulting it for now
See #20146 and https://github.com/dolphin-emu/dolphin/pull/13352
..
2025-08-22 21:21:19 +02:00
Henrik Rydgård
0502d79c99
Remove the return value from NativeMix, correct mixing with other channel numbers than 2
2025-06-18 23:48:00 +02:00
Henrik Rydgård
990b74cc17
More audio refactoring
2025-06-16 18:48:53 +02:00
Henrik Rydgård
25817c3bdb
Remove an unnecessary wrapper function (just rename __AudioMix to NativeMix)
2025-02-11 18:02:45 -06:00
Henrik Rydgård
cf90b24431
Add UI volume setting (affecting navigation sounds and preview audio). Convert alt speed volume into a 100-step percentage.
2025-02-11 17:42:09 -06:00
Henrik Rydgård
9b923b72c1
Refactor audio output, preparing for better volume control
2025-02-11 16:43:29 -06:00
Henrik Rydgård
19f4eadeb1
Call the sound effect mixer directly from Mix instead of pushing the samples from background audio.
2023-07-12 17:55:46 +02:00
Henrik Rydgård
72ab6cd0bc
libretro: Bypass PPSSPP's resampler, since libretro already has one
...
Hopefully, this will fix the reported bad audio performance and
behavior. Running two speed-compensating resamplers in a row can't be a good thing.
2023-03-24 18:52:41 +01: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