Ryan C. Gordon
Ryan C. Gordon
So the PA_STREAM_ADJUST_LATENCY flag has been there since SDL 1.2, arriving here: https://github.com/libsdl-org/SDL-1.2/issues/458 ...and SDL2 got it during SDL 1.3, when this was merged/reworked for the new audio interfaces. So...
(But please let me know if the test case still causes problems for _you_ with this change applied, and we'll reopen!)
> I still think changing the global latency is a terrible idea - there may be other reasons why the global latency is set to a particular value. Part of...
Reverted.
@jdiamondGitHub Did this ever get resolved? We definitely have Arm64 Mac support, so I'd like to see if this just needed an updated build or something else is going wrong....
I can't reproduce this, either with Wayland or XWayland. Maybe we fixed it?
If you get a chance, when it hangs, break in the debugger and see if it's definitely hanging in a function indefinitely or if the main loop is still running...
Yeah, I think you're right: ```c //crash if ( user[pl].crashed ) { DontReadKeys(); #ifdef SOUND if (sound) {Mix_PlayChannel(-1,explode_sound,0);} #endif SDL_SetAlpha(explosion_pic,(SDL_SRCALPHA),255-80); DrawExplosion(); DrawExplosion(); DrawExplosion(); DisplayMsg(pic_crashed,1); SDL_Delay(1000); endgame=1; fadeout(); } ``` There's...
Does the hang go away with this patch? ```diff diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c index 5b4536a..6ec6f07 100644 --- a/src/SDL12_compat.c +++ b/src/SDL12_compat.c @@ -6689,7 +6689,7 @@ PresentScreen(void) * Just pumping the event...
Okay, so that's why this isn't reproducing for me: the fade is very fast here, so I was beating the app-responsiveness timeout. That's the actual issue we need to solve...