#include <SDL3/SDL.h> int main() { SDL_Init(SDL_INIT_AUDIO); // this line results in segfault in half of the cases // SDL_Init(SDL_INIT_VIDEO); // but this one is always okay SDL_Quit(); } OS: Debian Bookworm Audio output: hdmi CPU: inte...
SDL_Init(SDL_INIT_AUDIO)初始化失败 sudo apt-get install libasound2-dev libpulse-dev 重新编译安装SDL2,成功
SDL (Simple DirectMedia Layer) through 1.2.15 and 2.x through 2.0.9 has a heap-based buffer over-read in InitIMA_ADPCM in audio/SDL_wave.c. Reference: https://bugzilla.libsdl.org/show_bug.cgi?id=4494 Comment 1 Dhananjay Arunesh 2019-02-13 08:19:27 UTC Created SDL tracking bug...