sdlsoundsource fix

This commit is contained in:
DepressedTWM 2026-06-01 14:09:04 -04:00
parent 4b13fed3e1
commit 6e7cd26e28

View file

@ -46,8 +46,7 @@ struct SDLSoundSource : ALDataSource{
if (!sample){
SDL_CloseIO(&ops);
snprintf(msg, sizeof msg, "SDL_sound: %s", Sound_GetError());
crash(msg, Exception::SDLError, true);
crash(Exception::SDLError, "SDL_sound: %s", Sound_GetError());
}
sampleSize = formatSampleSize(sample->actual.format);