Fix host-sdl/doom audio. Have app ask via syscall if audio can be rendered before sending, else any mismatch in rates will cause queue over/underflow in host-sdl.

This commit is contained in:
Toby Jaffey 2025-12-15 10:48:10 +00:00
parent 4e61e3bd4a
commit 09985655a2
4 changed files with 16 additions and 8 deletions

View file

@ -13,4 +13,5 @@
#define UVM32_SYSCALL_RENDER 0x00000008
#define UVM32_SYSCALL_GETKEY 0x00000009
#define UVM32_SYSCALL_RENDERAUDIO 0x0000000A
#define UVM32_SYSCALL_CANRENDERAUDIO 0x0000000B