Lime3DS/src/audio_core
James Rowe 87facaa2e2 Prevent out of memory errors when the game passes in an improper length value
HACK

In Luigi's Mansion Dark Moon in HLE audio, the game mysteriously passes
in an extremely large value for length, which without any checks, causes
HLE audio to allocate an extremely large buffer.

This value seemingly is caused by some other HLE audio feature is missing,
and Luigi's Mansion subtracts two values to get a length, without
checking for overflow first. This appears to be caused by an incorrect
HLE audio emulation, as its fixed entirely by only changing to LLE. As
such, further investigation is required, but in the meantime, completely
eating up our users RAM is unacceptable.
2019-12-14 18:18:59 -07:00
..
hle Prevent out of memory errors when the game passes in an improper length value 2019-12-14 18:18:59 -07:00
lle DSP/LLE: add multithread mode 2018-12-21 20:49:24 -05:00
audio_types.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
CMakeLists.txt CMake: separate options for FFmpeg decoder/dumper 2019-08-20 14:45:39 +08:00
codec.cpp audio_core/codec: Resolve truncation warnings within DecodeADPCM 2019-03-02 14:06:30 +01:00
codec.h audio_core: use nested namespaces 2019-02-17 23:41:48 -05:00
cubeb_input.cpp service/mic: actually use the specified device 2019-11-11 17:15:10 -05:00
cubeb_input.h service/mic: actually use the specified device 2019-11-11 17:15:10 -05:00
cubeb_sink.cpp Destroy the callback after the stream is destroyed 2019-04-05 14:16:55 -06:00
cubeb_sink.h audio_core: Make g_sink_details internally linked 2018-12-16 02:44:04 +01:00
dsp_interface.cpp audio_core: Dump audio frames and samples 2019-08-13 19:28:03 +08:00
dsp_interface.h audio_core: use nested namespaces 2019-02-17 23:41:48 -05:00
interpolate.cpp audio_core: use nested namespaces 2019-02-17 23:41:48 -05:00
interpolate.h audio_core: use nested namespaces 2019-02-17 23:41:48 -05:00
null_sink.h audio_core: Make g_sink_details internally linked 2018-12-16 02:44:04 +01:00
sdl2_sink.cpp audio_core: Simplify sink interface 2018-09-08 22:09:26 +01:00
sdl2_sink.h audio_core: Simplify sink interface 2018-09-08 22:09:26 +01:00
sink_details.cpp audio_core: Make g_sink_details internally linked 2018-12-16 02:44:04 +01:00
sink_details.h audio_core: Make g_sink_details internally linked 2018-12-16 02:44:04 +01:00
sink.h audio_core: Simplify sink interface 2018-09-08 22:09:26 +01:00
time_stretch.cpp audio_core: remove unnecessary spaces on comments 2019-01-19 21:28:52 +01:00
time_stretch.h time_stretch: Simplify audio stretcher 2018-09-08 22:09:26 +01:00