[Kernel] Restored yield in XAudioGetVoiceCategoryVolumeChangeMask

Thanks to latest change there is no need to use hardcoded nanosleep, so we can go back to previous stuff.
Hopefully it will fix some random issues with audio introduced lately
This commit is contained in:
Gliniak
2026-07-10 22:52:51 +02:00
parent 6e5b8324f4
commit 22d91c86e8

View File

@@ -32,7 +32,7 @@ dword_result_t XAudioGetVoiceCategoryVolumeChangeMask_entry(
lpunknown_t driver_ptr, lpdword_t out_ptr) {
assert_true((driver_ptr.guest_address() & 0xFFFF0000) == 0x41550000);
xe::threading::NanoSleep(1000);
xe::threading::MaybeYield();
// Checking these bits to see if any voice volume changed.
// I think.