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:
@@ -2336,12 +2336,6 @@ int CCryEditApp::IdleProcessing(bool bBackgroundUpdate)
|
||||
|
||||
GetIEditor()->Notify(eNotify_OnIdleUpdate);
|
||||
|
||||
IEditor* pEditor = GetIEditor();
|
||||
if (!pEditor->GetGameEngine()->IsLevelLoaded() && pEditor->GetSystem()->NeedDoWorkDuringOcclusionChecks())
|
||||
{
|
||||
pEditor->GetSystem()->DoWorkDuringOcclusionChecks();
|
||||
}
|
||||
|
||||
// Since the rendering is done based on the eNotify_OnIdleUpdate, we should trigger a TickSystem as well.
|
||||
// To ensure that there's a system tick for every render done in Idle
|
||||
AZ::ComponentApplication* componentApplication = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user