mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-02-13 01:44:30 +00:00
* Refactor audio handling with range checks, buffer threshold, and lock fixes - Added range checks for handle to avoid invalid index access in AudioOutOutput, AudioOutSetVolume, and AudioOutGetStatus. - Added a constant AUDIO_STREAM_BUFFER_THRESHOLD for the buffer threshold (was previously a magic number). - Set the freq parameter correctly in the SDL_AudioSpec structure in AudioOutOpen. - Fixed locking issues in AudioOutOutput to avoid unlocking before it's locked. * Refactor audio handling with range checks, buffer threshold, and lock fixes - Added range checks for handle to avoid invalid index access in AudioOutOutput, AudioOutSetVolume, and AudioOutGetStatus. - Added a constant AUDIO_STREAM_BUFFER_THRESHOLD for the buffer threshold (was previously a magic number). - Set the freq parameter correctly in the SDL_AudioSpec structure in AudioOutOpen. - Fixed locking issues in AudioOutOutput to avoid unlocking before it's locked. - Removed tab spaces to fix format clang error |
||
|---|---|---|
| .. | ||
| audio_core | ||
| common | ||
| core | ||
| images | ||
| imgui | ||
| input | ||
| qt_gui | ||
| shader_recompiler | ||
| video_core | ||
| .clang-format | ||
| emulator.cpp | ||
| emulator.h | ||
| main.cpp | ||
| sdl_window.cpp | ||
| sdl_window.h | ||
| shadps4.qrc | ||
| shadps4.rc | ||