Wanted to report that I find the sound emu very slow (= crackles and tiny desyncs) with beta 4.0.0. In particular from WB (desktop Picasso emulation 1920x1080) even Delitracker have issues at playing simple 4 channels mods. I tried all possible combos, including PortAudio… but when the buffer is too big (6-10) I see annoying lags in games and desync to make them unplayable.

With WinUAE 2.5.1 I don't have these crackles and audio routines seem MUCH faster and liter (and I can keep buffer at "3")… Is there something special to set up to fix this behaviour, besides "CPU idle" at minimum (that does not fix the issue)?

Wanted to report that I find the sound emu very slow (= crackles and tiny desyncs) with beta 4.0.0. In particular from WB (desktop Picasso emulation 1920x1080) even Delitracker have issues at playing simple 4 channel mods. I tried all possible combos, including PortAudio… but when the buffer is too high (6-10) I see an annoying lag in games and desync to make them unplayable.

With WinUAE 2.5.1 I don't have these crackles and audio routines seem MUCH faster and liter… Is there something special to set up to fix this behaviour, besides "CPU idle" at minimum (that does not fix the issue)?

I don't think this has much to do with OPs post. This is more like "generic" something is going on with sound without any actual useful information.. Sorry.

And finally, comparing to some ancient version is useless, LAST better working version or FIRST "not-really working version" must be included, not some randomly chosen old version and not mentioning 4.0 only because it is latest..

EDIT: Do you mean CPU Idle at minimum always "fixes" it? And it does go to idle state even when set to minimum+1 when playing modules? (CPU% goes to very low value).

Mmmh, ok. I replied already in msg #3: no unfortunately changing "CPU idle" won't cure the problem. I have to use very big buffers with beta 4.0.0 (with consequent annoying delays in games) to avoid crackles, in comparison with old WinUAE versions (will tell you when it started)...

hexaae the audio with the WinUAE 4.0.0 works well, if you look at my video you will see that I can play three at the same time mp3 without problems. In many cases the problem is Windows if you have a program in the background on windows, for example a program that scans or that makes use of audio I can slow down or sobs.

@AMIGASYSTEM
No it's not (I'm using WinUAE for a long time, I'm not a newbie and I can see the difference), and if you play MP3 you probably use a different audio device (AHI?)…
With Delitracker playing through Paula audio device on a Picasso IV emulated Workbench 1920x1080 I hear (and see, because of small lags opening drawers etc.) a noticeable difference, and frequent crackles I didn't have with the same cfg on WinUAE 2.5.1:[ Show youtube player ]
The only explanation is that something in the timing routines of WinUAE has changed. I'll have to investigate what WinUAE version introduced this delay for me.

Windows handles multitasking quite well on Windows 10 kernel (on a decent PC) and it can't be caused by background tasks, nor I have DPC latency issues, so... Moreover I have nothing running in bg, Windows CPU usage while playing Delitracker is 15-20%:

Toni it is really difficult to identify the exact cause,in some cases it is sufficient to restart WinUAE to resolve the problem, maybe in that fraction of time Windows has finished a procedure and everything returns to work perfectly.
For example, i have the problem when I'm seeing at the same time Real-Time TV or when the Antivirus monitors the system, or other applications that engage Windows.

Of course, things have improved since I added the SounBlaster Platinum Sound Card to my PC

AHI is totally different, don't even attempt to make any connections to Paula audio. This is why audio related issues needs to be described exactly. Including config file. Using as minimized config as possible. Also noting any configs that do sound fine. (for example I assume basic A1200/A500 config works fine?)

Does sound change if you switch screen to native screen? Does anything change if RTG resolution is very small? And so on..

Toni… In the meanwhile I've logged some weird crashes just pressing F12, while playing mods (Paula audio device) with Delitracker on my Picasso emulated Workbench. It's random: sometimes hangs with continuous last sound until I kill the task, some others it just crashes directly (= no GUI is even opened, direct crash pressing F12).
Here are the logs after crash: https://1drv.ms/u/s!ApMUGr0cuN39gZcJ85cwA0ohrjuy6w

Not sure when it started… maybe after 1803 but I won't bet on it.
Could it be a g-sync bug because of quick screen switch back to Windows desktop? Should I try with g-sync off? It never happens in DX9 mode.