View Single Post
Old 14 October 2016, 17:53   #34
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 2,476
Quote:
Originally Posted by Dr.Venom View Post
Mostly the onboard audio chips (realtek) are quite accurate and close to 48000Hz. But for pci cards this may differ a bit more.

The rate for my realtek is 48000.02Hz, and for my PCI-E Juli@XTe 48000.70Hz.

Now these seem only small deviations, but somewhere along the line they will eat the audio buffer more quickly (or more slowly for <48.000 values) then the emulator assumes.
I wonder how useful those figures are. Which clock source in your PC are they calculated with reference to? Unless you have some kind of atomic clock and batool64 uses that, surely the tolerance/error in the PC clock reference would be higher than the tiny difference between 48000.00 and 48000.02 (say).

That's a difference of less than 0.000042%; to put that in perspective, if the timing reference is a 2GHz CPU clock, that would be a difference of 833Hz.

While (I think) figures of 48000.02 & 48000.70 might not exactly match the real-world actual sample rates as you could measure with some calibrated instrument, the relative difference between them probably is accurate. And (if tiny deviations in the sample rate matter at all) the figures probably are relevant, in that WinUAE's timing will be based off the same source. In other words, WinUAE "sees" 48000.70Hz, even if the real-world actual rate is 48000.01Hz or whatever.
mark_k is offline  
 
Page generated in 0.04957 seconds with 9 queries