Patent ID: 11900953
Assignee: REALTEK SEMICONDUCTOR CORPORATION
Field: Digital communication (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 6:
7. An audio processing method, comprising:
generating a calculated value according to a plurality of first audio clock frequency information comprised in a plurality of audio input packets, wherein the calculated value is an arithmetic mean value, a weighted mean value, a geometric mean value, a moving average value, a median value, or a mode value, and the first audio clock frequency information are obtained from the audio input packets by a packet receiver of a data processor, wherein generating the calculated value comprises:
adding up the first audio clock frequency information to generate a data sum value by an accumulator of the data processor;
calculating the amount of the first audio clock frequency information to generate a data number by a counter of the data processor;
dividing the data sum value by the data number to generate the calculated value by a divider of the data processor; and
when a variation range of the first audio clock frequency information does not exceed a tolerance value and the data number is greater than a predetermined number, dividing the data sum value by the data number to generate the calculated value by the divider;

calculating an audio sampling frequency by the calculated value, a second audio clock frequency information comprised in the plurality of audio input packets and a link symbol clock signal; and
generating a plurality of audio output packets corresponding to the audio input packets according to the audio sampling frequency.