eden-miror/src/audio_core/sink
crueter aa4e494c08
[android] Replace Oboe audio with SDL3 audio (#4338)
Supersedes #4335.

Replaces the Oboe audio backend with SDL3, since we already support it.
A few caveats:

- SDL defines a JVM OnLoad method already, so we have to instead hijack
  NativeLibrary for id_cache initialization
- This also means some internal fields in Double/Integer/Boolean (namely
  `value`) can't be accessed, so I switched those to methods for now.
- SDL Java sources are pulled in from the CI package.
- Since we can't use SDLActivity, `SDL.setupJNI()` handles everything

Signed-off-by: crueter <crueter@eden-emu.dev>

- [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.

-------------------

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4338
Reviewed-by: Lizzie and Samuel <lizzie@eden-emu.dev>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
2026-09-02 00:29:58 +02:00
..
cubeb_sink.cpp [common/logging] Simplify logging logic and fix issues when logging before system is created (#3688) 2026-03-12 18:29:15 +01:00
cubeb_sink.h [audio_core] Revert EA3835 audio sink changes (#136) 2025-07-27 19:46:54 +02:00
null_sink.h Remove memory allocations in some hot paths 2023-06-22 08:05:10 +01:00
sdl3_sink.cpp [audio/sdl3] fix mismatches OS mixer settings for sdl3/cubeb audio backends (#4298) 2026-08-28 01:50:55 +02:00
sdl3_sink.h [externals] Update to SDL3 (#3952) 2026-05-18 19:07:41 +02:00
sink.h Have GetActiveChannelCount return the system channels instead of host device channels 2023-12-16 12:49:28 -05:00
sink_details.cpp [android] Replace Oboe audio with SDL3 audio (#4338) 2026-09-02 00:29:58 +02:00
sink_details.h (ui,)settings: Use explicit instantiation 2023-07-21 10:56:54 -04:00
sink_stream.cpp [*, docs] remove UTF8 and make docs ASCII only (#4166) 2026-07-07 20:01:11 +02:00
sink_stream.h [audio_core] Fix audio reverb effect acording to specs (#2976) 2025-11-08 03:50:51 +01:00