eden/CMakeModules
lizzie ff8368c606
[audio] Replace libopus with FFmpeg (#4169)
FFmpeg offers two opus decoders:
- libopus, this one is fed the same data (that affects output) as the previous libopus decoder had as well
- native opus decoder: this only takes Float32 samples, we then need to invoke swrescale to translate between s16 (what switch sends) and float32 (what FFmpeg expects), the process is computationally more expensive, but trades off neatly as the native opus decoder is very optimised

It also relegates the handling to FFmpeg, which simplifies existing code (more concretely, by using the "fill/drain" scheme for packets/frames)

Closes #2897

Signed-off-by: lizzie <lizzie@eden-emu.dev>
Co-authored-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4169
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Reviewed-by: Maufeat <sahyno1996@gmail.com>
2026-09-12 09:59:33 +02:00
..
find [audio] Replace libopus with FFmpeg (#4169) 2026-09-12 09:59:33 +02:00
toolchains [cmake, docs] Reorganize CMakeModules directory and add GentooCross toolchain (#4088) 2026-06-16 16:15:49 +02:00
CPM.cmake [cmake] CPMUtil rewrite of the day number 852 (#4130) 2026-07-06 23:11:39 +02:00
CPMUtil.cmake [externals] Update CI packages to new format (#4341) 2026-09-01 06:40:52 +02:00
FixMsysPaths.cmake [cmake] allow static MinGW/macOS builds; fix clangarm64 (#2994) 2025-11-11 06:22:33 +01:00
GenerateDepHashes.cmake [cmake, frontend] feat: CPMUtil + dependency viewer (#238) 2025-08-11 22:27:29 +02:00
GenerateSCMRev.cmake [frontend] Built-in auto updater (#3845) 2026-04-28 20:42:23 +02:00