30 May 2016, 11:35 | #1 |
titan sucks!
Join Date: Dec 2012
Location: munich/germany
Posts: 54
|
Audio stuttering/jittering/distortion/crackling
(Just tested this in WinUAE yet)
Built some demo code here which fires up Kalms ADPCM and then goes into endless loop. Before that loop I register a VB-Handler which decodes and feeds the audio samples (using Kalms library) When I, in my endless loop, put a Wait for VBL or even Wait(0) or Delay(1), the audio is sounding OK. If I don't do that the audio starts to stutter and plays very slowly. I disabled all interrupts except VB, disabled all DMAs except Master/Audio, and disabled task switching. Why is that? What is happening here? Is Audio DMA "slowed" down while CPU is running my endless loop? I'm coding some demo at the moment and got some effects which take longer than a frame but I still need to feed audio data every frame (that's why I use the VBI). Any idea how to proceed? Using Audio Interrupts? |
30 May 2016, 14:40 | #2 |
titan sucks!
Join Date: Dec 2012
Location: munich/germany
Posts: 54
|
I tested it on H/W now and it works.
So it seems to be some issue with WinUAE. I'm using the latest version. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Jittering screen -- but only in UAE? | idrougge | Coders. Asm / Hardware | 10 | 06 February 2016 21:40 |
Audio Popping and Stuttering | EightTrackMind | support.FS-UAE | 10 | 01 March 2014 18:50 |
Crackling sounds :( | Edwooger | New to Emulation or Amiga scene | 3 | 23 July 2013 18:53 |
Sound crackling | plasmatron | support.WinUAE | 59 | 15 May 2013 20:27 |
AUDxDAT audio distortion | Nut | support.WinUAE | 19 | 10 December 2012 10:52 |
|
|