eden-miror/src/audio_core
xbzk 301da63a15
[audio] hint openslES as audio driver on android to fix mute screen recording issue (#4397)
- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md)
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability.

-------------------
After audio backend migration some android devices screen captures became mute.
Liz instructed to enable openSL ES via some SDL hint.
Found the proper one in https://wiki.libsdl.org/SDL3/SDL_HINT_AUDIO_DRIVER.
Added it restricted to android.

UPDATE:
Got myself wondering how things work on SDL after using that hint, and checked that one must provide a list of drivers "opensles,aaudio,..." to be attempted.
Afraid of some devices failing on openSL ES, and to avoid hand providing entire list, i've added fallback logic so entire SDL's driver list can be tried just in case.
Default list in https://github.com/libsdl-org/SDL/blob/release-3.4.14/src/audio/SDL_audio.c.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4397
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: lizzie <lizzie@eden-emu.dev>
2026-09-11 21:38:12 +02:00
..
adsp [core, hle, video_core, memory] Improve multi-process, display layers, dynamic shader cache and rework overlay (#4238) 2026-08-29 01:04:02 +02:00
common [audio_core/hid] Audio REV12+15 support + HID fixes (#2719) 2025-10-12 17:03:14 +02:00
device [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
in [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
opus [opus] proper limit and error code for opus decoder instances (#4384) 2026-09-10 22:29:35 +02:00
out [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
renderer [audio_core] Fix jamboree crash due to OOB access (#4252) 2026-08-05 21:56:18 +02:00
sink [audio] hint openslES as audio driver on android to fix mute screen recording issue (#4397) 2026-09-11 21:38:12 +02:00
audio_core.cpp [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
audio_core.h [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
audio_event.cpp [common] remove ranges polyfill (#2546) 2025-09-24 19:29:48 +02:00
audio_event.h audio_core: Amend documentation tags 2022-09-15 09:47:23 -04:00
audio_in_manager.cpp [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
audio_in_manager.h audio: rewrite IAudioInManager 2024-02-20 22:15:37 -05:00
audio_manager.cpp [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
audio_manager.h [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
audio_out_manager.cpp [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
audio_out_manager.h Rework ADSP into a wrapper for apps 2023-09-04 17:12:16 +01:00
audio_render_manager.cpp Rework ADSP into a wrapper for apps 2023-09-04 17:12:16 +01:00
audio_render_manager.h Rework ADSP into a wrapper for apps 2023-09-04 17:12:16 +01:00
CMakeLists.txt [android] Replace Oboe audio with SDL3 audio (#4338) 2026-09-02 00:29:58 +02:00