dolphin-emulator/Source/Android/app
JosJuice f99d3dbd5c 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-05-25 11:59:33 +02:00
..
src/main Android: Ask system for optimal audio buffer size and sample rate 2025-05-25 11:59:33 +02:00
.gitignore
build.gradle.kts Android: Show time played in game details 2025-04-19 14:34:49 +02:00
proguard-rules.pro Android: Clean up ProGuard 2024-05-25 21:56:19 -04:00