Henrik Rydgård
d586ec0d5e
Don't create Host objects except in headless/unittest
2023-03-25 10:47:01 +01:00
Henrik Rydgård
5e36acb9eb
Remove Host::UpdateSound
2023-03-25 10:18:29 +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
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
a5fdf3d05b
Add samplerate argument to NativeMix
2023-03-24 14:48:53 +01:00
Henrik Rydgård
1cd34f9d2b
Another buildfix attempt
2022-09-01 14:07:27 +02:00
Henrik Rydgård
7bced814ce
Remove a per-audio-frame allocation in sceAudio
2022-09-01 11:59:35 +02: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
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
Henrik Rydgård
886a8b1ac6
Remove Timer.cpp/h. Move various collections into Common/Data/Collections.
2020-10-05 21:05:23 +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
Unknown W. Brackets
4b4e3432cd
SaveState: Split Do() into a separate header.
2020-08-10 08:03:41 +00:00
Henrik Rydgård
a9befb5496
Remove our custom atomics code entirely.
2020-05-17 13:11:36 +02:00
Henrik Rydgård
fce09f1865
Simplify how to get the debug stats from StereoResampler
2020-05-16 19:47:13 +02:00
Unknown W. Brackets
580c74c3e7
Audio: Remove latency setting.
...
This setting only changes some internal values that are shown in tests not
to match PSP behavior. Removed, it now matches how the PSP works.
This setting wasn't really affecting any actual audio latency.
See #11844 .
2020-04-08 00:08:19 -07:00
Unknown W. Brackets
4546db5635
Audio: Quick SRC resampling experiment.
2019-06-30 23:44:18 -07:00
Unknown W. Brackets
20ad7f2914
Audio: Track SRC frequency.
...
sceAudioSetFrequency is kernel mode only, and it sounds like it changes
the audio controller clock (didn't test.) SRC only affects the SRC
channel.
Currently, this doesn't actually use the sample rate yet, but at least
it's tracked appropriately.
2019-06-30 23:09:46 -07:00
Unknown W. Brackets
fd8a0612fa
SaveState: Initialize some memory that is saved.
...
At the very least, will help them compress better. Also good not to leak
random memory.
2018-06-22 21:29:18 -07:00
LunaMoo
e78a644c00
spaces->underscores:)
2017-11-14 09:46:31 +01:00
LunaMoo
aba4a4dfdb
Change KernelTimeNow to KernelTimeNowFormatted and return nice timestamp.
2017-11-14 07:16:40 +01:00
LunaMoo
2ff4104ddf
Requested changes.
2017-11-14 06:33:49 +01:00
LunaMoo
f8f4acc316
Blah;p. Buildfix.
2017-11-14 06:03:52 +01:00
LunaMoo
e698414f9b
Add an option to allow resetting video/audio dump on save/load state.
2017-11-14 05:12:27 +01:00
LunaMoo
99ab8dfc99
Use gameID and emulated timestamp for Avi/Wav dump filenames.
2017-11-14 03:53:45 +01:00