eden/src/audio_core/sink
lizzie 23bb909bc9
[audio_core] fix OOB copy when silencing channel on shutdown (#3969)
when shutting down the emulator will silence any remaining audio from the output buffer
however this is for some reason stored in an array instead of being a simple memset
additionally, said array can be small enough (`frame_size_bytes > silence.size()`) to cause a funky noise to play at the end

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

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3969
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: crueter <crueter@eden-emu.dev>
2026-05-31 02:38:26 +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
oboe_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
oboe_sink.h android: add oboe audio sink 2023-12-17 01:42:59 -05:00
sdl3_sink.cpp [externals] Update to SDL3 (#3952) 2026-05-18 19:07:41 +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 [externals] Update to SDL3 (#3952) 2026-05-18 19:07:41 +02:00
sink_details.h (ui,)settings: Use explicit instantiation 2023-07-21 10:56:54 -04:00
sink_stream.cpp [audio_core] fix OOB copy when silencing channel on shutdown (#3969) 2026-05-31 02:38:26 +02:00
sink_stream.h [audio_core] Fix audio reverb effect acording to specs (#2976) 2025-11-08 03:50:51 +01:00