Quote:
I've send you a mail with the log file.
Thanks! I can confirm now that it's indeed the ASIO thread that doesn't get called in time.
I'm logging 2 things:
- Duration of execution of ASIO thread code
- Time since last ASIO thread call
Both in CPU cycles.
At the start of your log file, where you say there's no clicking, both look very constant:
46442 3924448 0.000000
45452 3905330 0.000000
54351 3913437 0.000000
25938 3899632 0.000000
46277 3924877 0.000000
45617 3906947 0.000000
53680 3912161 0.000000
25971 3898752 0.000000
48202 3927253 0.000000
46244 3907442 0.000000
54901 3924943 0.000000
26235 3885563 0.000000
46750 3924899 0.000000
45001 3905968 0.000000
53438 3914592 0.000000
26125 3899005 0.000000
46178 3923700 0.000000
45122 3906683 0.000000
53053 3914493 0.000000
...
So basically, the thread gets called approximately every 3900000 CPU cycles.
But at the end of your log file, after hitting RESET a few times, where you get horrible clicking, it looks like this:
103862 3932830 0.000000
123849 7810099 0.000000
30591 162118 0.000000
97845 3759701 0.000000
119867 3926252 0.000000
114433 7861282 0.000000
29227 151547 0.000000
86955 3693800 0.000000
131560 3934524 0.000000
127754 8518840 0.000000
34188 163779 0.000000
127270 3032128 0.000000
137291 3946074 0.000000
163471 7605521 0.000000
27621 190795 0.000000
79585 3892350 0.000000
103840 3903460 0.000000
92609 7513396 0.000000
40194 720731 0.000000
89419 3506778 0.000000
As you can see, the time between calls often reaches or even exceeds twice the time it should have taken (3900000), which means that the data should have already been sent back to the sound card at the moment when it's called. So I start filling the ASIO buffers *after* they have been sent to the sound card, resulting in pops and clicks.
The execution time also jitters more, but that's not really relevant (it takes longer, but not by far long enough to explain the time between calls).
Question: Was this with less full buffers, or not? (I don't think it has anything to do with it, but since I'm still looking for the cause I cannot be certain...)
Maybe a strange request, but could you check what happens if you set the Stereo Tool priority in Task Manager at Below Normal or Idle, when you're already having clicks (Stereo Tool internally set to Normal)? I'm just curious if the ASIO thread responds to that or not.