aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/sink/sdl2_sink.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [externals] Update to SDL3 (#3952)Kaydax2026-05-181-283/+0
| | | | | | | | | | | | | | | | | | | | Since the launch of the steam controller I think it's only best to push towards updating to SDL3 allowing for a wider range of controller support I went ahead and started on getting it working. Everything here should be functional, I've personally tested it all on Arch Linux. Still untested on windows, so looking for feedback on that Any feedback and help would be appreciated! Main changes: - Bump everything to SDL3 - Handle SDL3 audio and input - Add steam controller support, including HD Rumble - Improved battery reporting via the status icon by using real % rather than state alone Co-authored-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3952 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: Lizzie <lizzie@eden-emu.dev>
* [common/logging] Simplify logging logic and fix issues when logging before ↵lizzie2026-03-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | system is created (#3688) - our logging code was bigger than spdlog itself, why???? just keep it simple - fix issues when logging before logging system is even started - removes the "initialized logging twice" issue - removes uneeded indirection in file logging - uses direct formatting instead of jumping hoopla-around the fmt::format() ressult - code duplication and dead code removal as usual I did explore dup2() but I think it's not worth the hassle I did try `fwopen()` but it's better if things are just kept as-is. there is a lot of noise because I removed a bunch of redundant files on logging and just put everything in one file now normally this wouldn't be a good idea, however consider: the complexity of logging; it's less than 500 lines... does it really need a whole subsystem?!?!?! ITS JUST LOGGING Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3688 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: DraVee <chimera@dravee.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [audio_core] Revert EA3835 audio sink changes (#136)crueter2025-07-271-0/+8
| | | | | | | | Fixes diablo/totk audio stutters Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/136
* [build, cmake] port to solaris (#96)lizzie2025-07-231-0/+4
| | | | | | | Co-authored-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/96 Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* Have GetActiveChannelCount return the system channels instead of host device ↵Kelebek12023-12-161-1/+2
| | | | channels
* audio_core: ignore renderer wait when stream is pausedLiam2023-11-121-1/+1
|
* Pre-test opening a stream for audio backends, fall back to null if not suitable.Kelebek12023-08-231-2/+38
|
* yuzu-sdl,audio_core: Remove antiquated warning ignorelat9nq2023-05-051-10/+1
| | | | | Issue was fixed a long time ago, both by SDL2 and in yuzu by including SDL2 as a system library.
* audio_core: No longer stall when sink queue is fullBilly Laws2023-03-271-2/+0
| | | | Now the audout and audren update rates are tied to the sink status stalling is no longer necessary.
* sdl2_sink: Inline variable init into if conditionlat9nq2022-10-161-2/+1
| | | | Co-authored-by: Mai <mathew1800@gmail.com>
* sdl2_sink: Distinguish between capture and non-capture device nameslat9nq2022-10-161-1/+1
| | | | | | | | The function prototype appears to care whether we are loading capture devices or not, and SDL_GetAudioDeviceName has a parameter to use it, but for some reason it isn't. This puts `capture` where it goes.
* sdl2_sink: Check for null string when loading SDL audio deviceslat9nq2022-10-161-1/+4
| | | | | | | Attempting to place a null string into a vector of strings causes an error that closes the application. Don't.
* Choose the SDL audio backend when Cubeb reports too high of a latencyKelebek12022-10-091-5/+5
|
* Remove pause callbacks from coretimingKelebek12022-09-131-22/+5
|
* Rework audio output, connecting AudioOut into coretiming to fix desync ↵Kelebek12022-09-021-323/+27
| | | | during heavy loads.
* Project AndioKelebek12022-07-221-0/+556