mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +00:00
sdlsoundsource fix
This commit is contained in:
parent
4b13fed3e1
commit
6e7cd26e28
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue