Patent ID: 8204613

Claim:
A method for generating an audio clock, comprising: receiving a reference clock generated by a high-definition multimedia interface (HDMI) receiver; receiving a received signal from a multimedia interface of the HDMI receiver, wherein the received signal comprises a video signal and an audio signal; obtaining a first parameter N and a second parameter CTS from the received signal; determining a ratio value by utilizing one of the reference clock and a video clock of the video signal to count the other of the reference clock and the video clock; generating an output clock according to the first parameter N, the second parameter CTS, the ratio value and the reference clock; and determining one of a plurality of audio sampling frequencies according to a frequency of the output clock to serve as a frequency of the audio clock, wherein the frequency of the audio clock is one of the plurality of audio sampling frequencies, which is closest to the frequency of the output clock; and generating the audio clock having the determined audio sampling frequency.