Henrik Rydgård
cf90b24431
Add UI volume setting (affecting navigation sounds and preview audio). Convert alt speed volume into a 100-step percentage.
2025-02-11 17:42:09 -06:00
Henrik Rydgård
9b923b72c1
Refactor audio output, preparing for better volume control
2025-02-11 16:43:29 -06:00
Henrik Rydgård
4d6905672e
Bunch more linting
2024-10-10 11:57:10 +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
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
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
Henrik Rydgard
26a2d42731
Big mutex overhaul - remove our custom ones, make them non-recursive where possible
2017-02-28 11:40:29 +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
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