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
Unknown W. Brackets
b1e31d89e1
Audio: Correct protection against time skew.
2021-10-10 15:05:51 -07:00
Unknown W. Brackets
b77695c760
Audio: Protect against time skew.
...
It might be possible a clock is adjusting backwards slightly after a time
update, and this could've caused sz to become negative.
Based on crash reports.
2021-10-09 08:24:54 -07:00
Henrik Rydgård
025bcb1673
Introduce Path, start using it all over the place.
...
Still lots left to convert!
Convert GetSysDirectory to return Path.
More buildfixing
Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Unknown W. Brackets
30bd0e60c7
UI: Avoid audio locks where possible.
...
In case of thread contention, avoid locking if not necessary. See #13469 .
2021-02-15 18:21:32 -08:00
Henrik Rydgård
caa58c6907
Remove a completely unnecessary check in BackgroundAudio.cpp that caused glitching at 44.1khz.
...
Fixes #14096
2021-02-10 00:20:13 +01:00
Henrik Rydgård
886a8b1ac6
Remove Timer.cpp/h. Move various collections into Common/Data/Collections.
2020-10-05 21:05:23 +02:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. ( #13506 )
...
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing
Let's also move net while we're at it.
Move the ZIM/PNG loaders over to Common.
Move the UI framework into Common
iOS buildfix
* Buildfix
* Buildfixes
* Apple buildfix
* This typo again..
* UWP buildfix
* Fix build of PPSSPPQt, such as it is (it's not in good condition...)
* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
9e41fafd0d
Move math and some file and data conversion files out from native to Common.
...
Buildfixing
Move some file util files
Buildfix
Move KeyMap.cpp/h to Core where they belong better.
libretro buildfix attempt
Move ini_file
More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
054acf768c
Don't cache time in a variable.
...
A little weirdness in the code that has stuck around for a long, long
time. It's really not necessary and mostly just confusing.
2020-09-24 23:52:43 +02:00
Henrik Rydgård
ccc0331279
Move timeutil to Common. (Experiment to see how much work it is to move these).
2020-08-15 20:53:08 +02:00
Henrik Rydgård
c41f875df4
Remove base/logging.h in a whole lot more places.
2020-08-15 19:09:00 +02:00
Henrik Rydgård
b43698a13d
Remove most instances of base/logging.h from Common, Core, GPU, more
2020-08-15 19:08:44 +02:00
Henrik Rydgård
14532847c7
Fix some minor issues found by address-sanitizer on Linux
2020-08-11 22:28:36 +02:00
Unknown W. Brackets
b8342fb8ec
SaveState: Rename ChunkFile files to Serialize.
...
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
4c46867230
Audio: Avoid exposing fixed size queue in header.
2020-08-10 08:03:44 +00:00
Henrik Rydgård
434b717ba0
Add a couple of more sounds. Rename some vars.
2020-08-03 12:08:11 +02:00
Henrik Rydgård
55eb2844fd
Hook up a couple more sounds. Unfortunately clickable back buttons now play both back and confirm sounds...
2020-08-03 12:08:11 +02:00
Henrik Rydgård
5423f76e25
Hook up the first UI sound, make it play.
2020-08-03 12:08:11 +02:00
Henrik Rydgård
b30be913c0
Read in WAV files for UI sounds
2020-08-03 12:08:11 +02:00
Henrik Rydgård
e13b53e02c
BackgroundAudio: Switch to a heap allocated buffer.
2020-08-03 10:43:26 +02:00
Henrik Rydgård
6f02844b5b
Consolidate BackgroundAudio.cpp into a class
2020-08-03 10:43:26 +02:00