I'm updating my emulator, and have noticed a strange problem where the sound output cuts out for no apparent reason after a short amount of time. AFAICT the code is fully system-legal.
Inserting a Delay(1) seems to solve the problem for some reason, but that isn't a real solution as the emulator needs to be as fast as possible, and some of the sound effects do require rapid writes to the audio.device. It's odd because after the AbortIO() I'm doing a WaitIO().
I'm not sure if this is a WinUAE bug, a bug in my program, or a bug in the audio.device; those seem to be the three possibilities.
There doesn't seem to be a way to attach files to this message, so I have uploaded the files to my host, the URLs are:
http://www.deadwoodinc.net/amigan/test.cfor the source, and
http://www.deadwoodinc.net/amigan/testfor the executable.
Many thanks to anyone who can tell me what the !@#$ is going on!!!