Welcome, Guest. Please login or register.

Author Topic: Strange audio output bug  (Read 2239 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline MinuousTopic starter

Strange audio output bug
« on: August 27, 2006, 07:45:28 AM »
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.c

for the source, and

http://www.deadwoodinc.net/amigan/test

for the executable.

Many thanks to anyone who can tell me what the !@#$ is going on!!!
 

Offline MinuousTopic starter

Re: Strange audio output bug
« Reply #1 on: August 27, 2006, 01:55:33 PM »
Yes, it's just random noise and tones, it's not supposed to sound good. But if you can hear *anything* then it's working.

Seems like a UAE bug from the sounds of it (forgive the pun :-) ), if this is true I will make a bug report for Toni Wilen...