python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
SDL_Mixer Mix_LoadWAV can not find RIFF or WAVE identifiers
I have asked this before since december but was ignored everywhere so I am trying to ask this one last time.
I am trying to load an audio file (as an Mix_Chunk) but I am getting the following error me...

Lila
Votes: 0
Answers: 1
pygame.display.init() fails for non-root user
Tl;dr
I need to use pygame but it can't initialize the screen as a normal user because of the permissions for the framebuffer driver. root can do pygame.display.init() but not the user. User is in the...

vinalti
Votes: 0
Answers: 2
SDL_BlitSurface in PySDL2 causing segfault on larger surfaces
Background
I am creating a window with pysdl2 and using SDL_Blit_Surface for embedding a skia-python surface inside this window with the following code:
import skia
import sdl2 as sdl
from ctypes impo...

Sujal Singh
Votes: 0
Answers: 1
SDL2 Undefined symbol for ARM64 Architecture
I have tested multiple instances of SDL2 code with tutorials and my gcc compilation string and everything works fine, but when I start trying to use the library I start getting weird errors for my M1 ...
Rachel
Votes: 0
Answers: 1