Echo cancellation data synchronization control method, terminal, and storage medium
Abstract:
An echo cancellation data synchronization control method is disclosed. The method includes: estimating a sound card delay value; initializing and accumulating a near-end audio buffer queue and a reference audio buffer queue until a difference obtained by subtracting a length of the near-end audio buffer queue from a length of the reference audio buffer queue is greater than or equal to an audio data length corresponding to the sound card delay value; extracting, in accordance with audio frames, audio data from the head of the reference audio buffer queue and the head of the near-end audio buffer queue for echo cancellation processing; obtaining a relative delay value generated by performing echo cancellation processing; and adjusting the sound card delay value according to the relative delay value.
Information query
Patent Agency Ranking
0/0