dolphin-emulator/Source/Android/jni
JosJuice 489d0366d9 Android: Ask system for optimal audio buffer size and sample rate
This can reduce audio latency according to
https://developer.android.com/ndk/guides/audio/opensl/opensl-prog-notes#perform.

Previously we were using the hardcoded values of 48000 Hz and 256 frames
per buffer. The sample rate we use with this change is 48000 Hz on all
devices I'm aware of, but the buffer size does vary across devices.

Terminology note: The old code used the term "sample" to refer to what
Android refers to as a "frame". "Frame" is a clearer term to use for
this, so I've changed OpenSLESStream's terminology. One frame consists
of one sample per channel.
2025-03-29 11:14:27 +01:00
..
AndroidCommon Android: Ask system for optimal audio buffer size and sample rate 2025-03-29 11:14:27 +01:00
Cheats Merge pull request #13228 from OatmealDome/fix-curl-2 2025-01-08 18:14:10 +01:00
Config Android: Expose config changed callbacks 2023-12-07 21:09:17 +01:00
GameList Android: Use JNI for setting/getting ISO paths 2023-09-02 12:58:20 +02:00
Input Merge pull request #13434 from JosJuice/android-non-blocking-input-detection 2025-03-28 18:25:04 -04:00
ActivityTracker.cpp Android: Track whether app is in foreground 2024-06-23 18:16:33 -04:00
CMakeLists.txt Android: Don't use separate thread for MotionAlertDialog 2025-03-23 21:39:04 +01:00
GpuDriver.cpp Android: Remove a stray backtick 2023-10-01 13:37:04 +02:00
Host.cpp Android: Move host thread lock to a separate file 2023-06-12 23:39:42 +02:00
Host.h Android: And Lock and Unlock wrappers to HostThreadLock 2023-06-12 23:39:42 +02:00
InfinityConfig.cpp IOS/USB: Use Enum for Infinity Base Positions 2024-06-27 20:57:27 +01:00
MainAndroid.cpp Merge pull request #12866 from JosJuice/android-log-types-sorting 2025-03-15 16:01:33 +01:00
RiivolutionPatches.cpp Android: Add Riivolution patch configuration 2021-10-30 23:24:37 +02:00
SkylanderConfig.cpp Skylanders: Improve figure data view and generation 2023-11-05 18:06:10 +01:00
WiiUtils.cpp IOS/ES: Split ESDevice into ESCore and ESDevice. 2023-05-15 20:41:05 +02:00