Hi again,
I'm not a specialist at all, but
Looking further on FS-UAE, FS-UAE is multi-threaded. On thread for SDL,
on for emulation, on for the mouse emulation.
Hatari on MacOsX have only one thread. So, basically, selecting a menu
interrupt emulation anywhere.
SDL2 have a separate thread for sound: "Audio runs independently in a
separate thread, filled via a user callback mechanism ". SDL1 do not:
sound is interrupted in SDL1, not in SDL2. The sound thread wait for
data to play, but main Hatari Thread do not feed it. Hence, the noise,
SDL2 continiously playing the last chunk of sound.
Is it a plausible explanation ?