mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-11-28 00:34:26 +00:00
Restart the audio renderer if SDL_QueueAudio() fails
This commit is contained in:
1 parent
bcdd0a2c63
commit
f924722793
1 file changed
+1
@@ -128,6 +128,7 @@ bool SdlAudioRenderer::submitAudio(int bytesWritten)
|
||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
|
||||
"Failed to queue audio sample: %s",
|
||||
SDL_GetError());
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user