Commit graph

24 commits

Author SHA1 Message Date
李通洲
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