Henrik Rydgård
1b366afa35
Refactor: Change *outBytes to *outSamples in AudioDecoder::Decode.
2024-04-16 15:31:11 +02:00
Henrik Rydgård
d402068745
Fix mono output from Atrac decoders. (sceAtrac*MOut* functions)
2024-04-15 11:50:32 +02:00
Henrik Rydgård
5ed77b58ca
Improve the AudioDecoder API to avoid having to call a function to get the bytes consumed
2024-04-11 16:49:00 +02:00
Henrik Rydgård
bf280eb410
Remove "SetExtraData" from AudioDecoder, pass in the data at creation instead
2024-04-11 14:39:59 +02:00
Henrik Rydgård
1805910fac
More refactoring
2024-04-10 12:22:58 +02:00
Henrik Rydgård
1938d3b876
More prep for plugging in alternate audio decoders
2024-04-10 12:14:58 +02:00
Henrik Rydgård
862fb951f1
Add support for loading mp3 files as UI sound.
...
Fixes #18136
2024-04-09 19:15:49 +02:00
Henrik Rydgård
9979372a97
Assorted paranoia, get rid of an allocation in the audio loop
2024-01-29 10:37:38 +01:00
Henrik Rydgård
884c366692
Fix some longstanding issues with the GameInfoCache and optimize away double work
2024-01-28 16:23:27 +01:00
Henrik Rydgård
1a1b79606b
BackgroundAudio Atrac3+: malloc a few extra bytes. Fixes crash reported by Verymelon
2024-01-26 19:42:25 +01:00
Henrik Rydgård
e8f70594a4
Implement running the game in the background on the pause screen. Fix some bugs.
2023-12-11 12:41:44 +01:00
Henrik Rydgård
cbbaf148f4
Don't crash from incomplete wav files
2023-09-27 12:31:17 +02:00
German Semenov
c27481d637
GPU, VFS, UI: Fixed minor memleaks
2023-09-15 12:23:54 +03:00
Henrik Rydgård
e5a0788952
RetroAchievements audio customization: Fix checks for WAV file format
2023-09-11 22:55:59 +02:00
Henrik Rydgård
de20a5692f
Add support for 8-bit and mono WAV files. More fixes.
2023-07-16 15:04:21 +02:00
Henrik Rydgård
18fbe7afe8
Log if we fail to load default samples
2023-07-16 14:25:46 +02:00
Henrik Rydgård
bd4f3f8953
Start work on making sound effects customizable
2023-07-16 12:56:46 +02:00
Henrik Rydgård
614def8f5f
Thread safety fix in sfx mixer
2023-07-12 20:09:52 +02:00
Henrik Rydgård
af92430b18
Achievement Unlocked and Leaderboard Submitted sound effects
2023-07-12 19:55:53 +02:00
Henrik Rydgård
f1ff12784a
Allow flexible sample rate for UI sound effects
2023-07-12 17:55:49 +02: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
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
Henrik Rydgård
8421c1e2a1
Move g_backgroundAudio.Play to NativeUpdate
2023-03-24 14:48:49 +01:00
Henrik Rydgård
3b39e9e068
Turn the VFS into a class, to be able to reuse it for other purposes.
2023-03-06 16:42:47 +01:00