- Thread starter
- #621
12-09-2010 21:12:58.576 [ f30] DevicePeriod: 50000 (1 == minimal, 0 == driver default, other user defined)
12-09-2010 21:12:58.891 [ 1030] WASAPIRenderer::InitAudioClient device reported latency 10 ms - buffer based latency 0
Looks like my theory would be right. 5 ms buffer turns into a 10 ms latency.
Could you test the attached binary? It should fix the 50 ms A/V sync issue you were seeing with the 500000 as device period setting.
UPDATE: unfortunately there might be a change that the latency query is done before the audio device has been initialised -> 0 latency is reported. The bad thing is that we cannot delay the latency query since we need to do it right when the preroll time is queried from the audio renderer by DS graph.
So, most likely that patch only makes the A/V sync worser. It should be 100 ms now when audio buffer is 50 ms on Xonar. But maybe it just makes us to drop few more samples to reach the correct A/V sync (just visible in the log, no audible difference for the correctly working case).
Italy