View Single Post
  #3  
Old 21st September 2017, 05:18 AM
HatCat's Avatar
HatCat HatCat is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Feb 2007
Location: In my hat.
Posts: 16,260
Default

The DAC sample frequency is video_clock / (DAC_rate + 1).

So,
frequency = video_clock / (DAC_rate + 1)
(DAC_rate + 1) * frequency = video_clock
DAC_rate + 1 = video_clock / frequency
DAC_rate = (video_clock / frequency) - 1

Therefore, both the formula in use by audio plugins today as well as the one in LaC's doc are correct.
Reply With Quote