[PS2] Audio Stutter
Author: Henrique194Created Jan 15, 2026Updated Sep 29, 2026
Chocolate Quake is being ported to the PS2 platform and we've encountered a strange audio bug. The issue can be seen in the video below:
https://github.com/user-attachments/assets/10bd798b-0c80-4970-a394-3eba22c5f504
We are not using SDL_mixer. The game has been tested on Windows, macOS, and Linux, and the problem occurs only on the PS2. We ran several experiments to isolate the issue and discovered that adding a 1ms delay to the main game loop completely eliminates the audio glitch. Some developers on the PCSX2 side suggested that this behavior might point to a thread-synchronization or timing issue, but we haven't been able to confirm that yet. We also tried enabling vsync, but it had no effect on the problem.
Source: libsdl-org/SDL