mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-10 01:46:16 +00:00
Enable direct submit optimization in audio and video decoders
This commit is contained in:
@@ -101,4 +101,5 @@ AUDIO_RENDERER_CALLBACKS audio_callbacks_alsa = {
|
||||
.init = alsa_renderer_init,
|
||||
.cleanup = alsa_renderer_cleanup,
|
||||
.decodeAndPlaySample = alsa_renderer_decode_and_play_sample,
|
||||
.capabilities = CAPABILITY_DIRECT_SUBMIT,
|
||||
};
|
||||
|
||||
@@ -76,4 +76,5 @@ AUDIO_RENDERER_CALLBACKS audio_callbacks_sdl = {
|
||||
.init = sdl_renderer_init,
|
||||
.cleanup = sdl_renderer_cleanup,
|
||||
.decodeAndPlaySample = sdl_renderer_decode_and_play_sample,
|
||||
.capabilities = CAPABILITY_DIRECT_SUBMIT,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user