Fixes audio crash and issues w/ audio playback (#1633)

This was caused by the main thread audio update not being called all the
time, especially Editor Game mode.

The crash was due to main thread containers not being processed and
emptied of their requests.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
This commit is contained in:
amzn-phist
2021-06-29 10:54:27 -05:00
committed by GitHub
parent f01587c159
commit 75e7472cda
6 changed files with 2 additions and 42 deletions
-5
View File
@@ -1823,11 +1823,6 @@ void CSystem::CreateSystemVars()
"1 - CryPak preserves file name casing\n"
"Default is 1");
REGISTER_CVAR2("sys_deferAudioUpdateOptim", &g_cvars.sys_deferAudioUpdateOptim, 1, VF_NULL,
"0 - disable optimisation\n"
"1 - enable optimisation\n"
"Default is 1");
m_sysNoUpdate = REGISTER_INT("sys_noupdate", 0, VF_CHEAT,
"Toggles updating of system with sys_script_debugger.\n"
"Usage: sys_noupdate [0/1]\n"