mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-12-03 11:41:46 +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,
|
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
|
||||||
"Failed to queue audio sample: %s",
|
"Failed to queue audio sample: %s",
|
||||||
SDL_GetError());
|
SDL_GetError());
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in new issue
Block a user