[XMA] Fix dedicated thread stalls by blocking guest audio thread

Includes various other thread safety and timing related adjustments
This commit is contained in:
Herman S.
2026-02-17 11:33:09 +09:00
parent 6e5b2a95b0
commit 2d6b7c6ca1
6 changed files with 94 additions and 48 deletions

View File

@@ -35,7 +35,9 @@ extern "C" {
namespace xe {
namespace apu {
XmaContext::XmaContext() = default;
XmaContext::XmaContext()
: work_completion_event_(
xe::threading::Event::CreateAutoResetEvent(false)) {}
XmaContext::~XmaContext() {}