From f12ec9b986dcdf5b0ad26f81821db2172dce8f37 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Thu, 18 Feb 2016 02:12:01 -0500 Subject: [PATCH] Use direct submit mode for the audio renderer --- auddec.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/auddec.cpp b/auddec.cpp index ccb0f66..467ec02 100644 --- a/auddec.cpp +++ b/auddec.cpp @@ -139,5 +139,6 @@ void MoonlightInstance::AudDecDecodeAndPlaySample(char* sampleData, int sampleLe AUDIO_RENDERER_CALLBACKS MoonlightInstance::s_ArCallbacks = { MoonlightInstance::AudDecInit, MoonlightInstance::AudDecCleanup, - MoonlightInstance::AudDecDecodeAndPlaySample + MoonlightInstance::AudDecDecodeAndPlaySample, + CAPABILITY_DIRECT_SUBMIT }; \ No newline at end of file