mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-21 15:57:12 +00:00
Fix Steam Link audio latency cap
This commit is contained in:
1 parent
30cfa2607d
commit
2682829bd3
3 files changed
+12
-6
No files matched your search
@@ -49,11 +49,13 @@ AUDIO_RENDERER_CALLBACKS Session::k_AudioCallbacks = {
|
||||
nullptr,
|
||||
Session::arCleanup,
|
||||
Session::arDecodeAndPlaySample,
|
||||
CAPABILITY_DIRECT_SUBMIT |
|
||||
#ifdef STEAM_LINK
|
||||
CAPABILITY_SLOW_OPUS_DECODER
|
||||
#ifndef STEAM_LINK
|
||||
CAPABILITY_DIRECT_SUBMIT
|
||||
#else
|
||||
0
|
||||
// We cannot use direct submit for Steam Link because the
|
||||
// SLAudio renderer needs to look at the audio backlog to
|
||||
// cap latency since playback is a blocking operation.
|
||||
CAPABILITY_SLOW_OPUS_DECODER
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user