[hpsdr] Audio distortions during zoom/pan panadapter

ghbyrkit at chartermi.net ghbyrkit at chartermi.net
Wed Dec 9 11:40:38 PST 2015



	A quick test on windows 7 using sysinternals clockres.exe shows that
before running the dpc latency checker, the clock resolution is
15.6ms, and while running the dpc latency checker the clock resolution
is 1ms. 

	So this suggests that there are likely 'sleep(1)' statements written
in the code that in fact sleep for about 15.6ms (or until the next
15.6ms interval passes, for a possible average of about 8ms), rather
than only sleeping for 1ms. But they then work correctly when the DPC
latency checker is running and has altered the system timer
resolution, in the same manner that the Media Player or other
multimedia programs do, which explains why some web pages seem to
solve similar problems, as Roger pointed out with his Yahoo page
example. 

	Possibly using 'sleep(0)', which only gives up your slice to other
programs could work, or possibly setting the system timer resolution
to 1ms is required. 

	73, 

	George K9TRV


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/attachments/20151209/24b09349/attachment-0002.htm>


More information about the Hpsdr mailing list