Unknown W. Brackets
13ec384dbe
Build: Explicitly include ppsspp_config.h.
...
This adds it to all files that use it. Not all our builds include the
file.
2021-03-02 21:04:03 -08:00
Unknown W. Brackets
e2d000cd34
Audio: Avoid left shift when resampling.
2021-01-31 10:42:31 -08: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
f01ba6dc84
Move NativeApp.h to Common/System, split into NativeApp.h and System.h
...
Buildfix
2020-10-04 11:42:16 +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
b43698a13d
Remove most instances of base/logging.h from Common, Core, GPU, more
2020-08-15 19:08:44 +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
Henrik Rydgård
2ba65c831a
Fix minor bug in StereoResampler debug display
2020-05-26 23:10:28 +02:00
Henrik Rydgård
90fd2d9e33
Remove the Audio Resampling setting (now always on). Having it off is not useful because it'll never sync up perfectly over time.
2020-05-17 19:00:48 +02:00
Henrik Rydgård
0692b6dca6
Revert the loop check in StereoResampler, new one could accidentally keep looping when underrun severely (like if emulation stopped).
2020-05-17 18:16:26 +02:00
Henrik Rydgård
67334e4ae7
StereoResampler: Make sure the target buffer size is large enough, taking SYSPROP_AUDIO_FRAMES_PER_BUFFER into account.
2020-05-17 11:46:12 +02:00
Henrik Rydgård
f81dfa0171
Rename things to make more sense.
2020-05-17 11:05:53 +02:00
Henrik Rydgård
c46424afd6
StereoResampler: Use C++ atomics
2020-05-17 10:21:02 +02:00
Henrik Rydgård
8b5b7d2496
Add some vaguely interesting stats
2020-05-17 10:21:02 +02:00
Henrik Rydgård
fce09f1865
Simplify how to get the debug stats from StereoResampler
2020-05-16 19:47:13 +02:00
李通洲
55bb58e13e
NativeApp: add System_GetPropertyFloat all the places
2020-02-04 09:20:34 +08: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
e4e0cdd0f7
Audio: Add volume for alternate speed.
...
Fixes #11605 .
2019-06-23 13:34:08 -07:00
Henrik Rydgård
2f26297062
Clean up some more ifdefs
2019-05-10 23:25:57 +02:00
driver1998
5072584781
Fix neon headers for MSVC ARM64
...
MSVC uses arm64_neon.h for ARM64, arm_neon.h is ARM32 only.
2019-05-04 22:45:15 +08:00
Unknown W. Brackets
b4496f1975
Core: Move config enums to separate file.
...
These are a bit strewn about and there are constants that aren't
consistently used, which just adds confusion.
2018-06-23 10:59:18 -07:00
Henrik Rydgård
f76e5e70a7
Enable FlushInstructionCache on UWP, it's been allowed finally.
...
Minor warning fixes, UWP buildfix
Retarget UWP project to latest SDK.
2018-03-20 20:30:33 +01:00
Henrik Rydgård
6a1fa728d8
Remove Globals.h
2017-08-31 17:15:22 +02:00
Henrik Rydgård
b3b459507a
Neon-optimize the audio s32->s16 packing function
2017-08-15 16:16:25 +02:00
Henrik Rydgard
d64f367e1d
Assorted warning fixes
2017-03-05 10:52:45 +01:00
Henrik Rydgard
dee686b9d4
Add a setting to make the audio buffer sizes bluetooth-friendly on Android.
...
Replaces #8846
2016-12-01 21:36:44 +01:00
Henrik Rydgard
a465104e28
Minor code cleanup in StereoResampler (remove inner class)
2016-09-10 12:17:19 +02:00
Chris Burgener
645cb4d69e
Add Audio Dumping to File
2016-09-03 14:05:38 -04:00
Unknown W. Brackets
fb831b0f48
Add a global volume config setting.
...
This applies to all audio, UI, game, etc. Fixes #7749 .
2016-01-17 22:47:29 -08:00
Unknown W. Brackets
0a5bf7e12c
Add a means to apply volume in the resampler.
2016-01-17 22:34:48 -08:00
Unknown W. Brackets
a8b59e171b
Fix a few type comparison warnings.
2015-02-22 13:31:23 -08:00
Henrik Rydgard
24c78ed2f4
Add option to turn off the synchronizing audio resampler. Only available if output sample rate is 44100Hz.
2015-01-31 12:12:29 +01:00
Henrik Rydgard
86cee103f3
Add audio debug stats dev tool. Increase audio buffer low watermark a bit, hopefully helping #7370 .
2015-01-29 12:56:17 +01:00
Henrik Rydgard
8b05e7abf0
Adjust the audio speed on non-60hz Android devices to compensate.
...
Greatly improves audio stability on Nexus S.
Fixes #6677 .
2015-01-14 00:45:12 +01:00
Henrik Rydgard
26e4cb4a21
More cleanup
2015-01-11 20:35:52 +01:00
Henrik Rydgard
0c6ceee210
Optimize the resampler a little. Update native with new ability to not force 44khz so we actually get any use.
...
This causes Nexus 4 and Nexus 9 to end up on the fast path, greatly decreasing audio latency!
This also removes the "atomic audio" setting as the new audio code is lock-free always.
2015-01-11 18:06:42 +01:00
Henrik Rydgard
1b926ec59e
Increase the resampler buffer size, needed on Shield :(
...
Reset DSound to 44100.
2015-01-11 18:06:39 +01:00
Henrik Rydgard
c4169313b7
Resampler: Remove volume handling
2015-01-11 18:06:12 +01:00
Henrik Rydgard
e312d6b5fd
Replace outAudioQueue with Dolphin's resampler.
2015-01-11 18:06:06 +01:00