Method and apparatus for detecting echo delay and electronic device
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsZhengbin Song, Danqing Yang, Junfei Bu
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsZhengbin Song, Danqing Yang, Junfei Bu
Estimating the term…
A method and an apparatus detect an echo delay. If an electronic device plays an audio and a counter is in an on state, an Nth recording data block received after the counter is turned on is acquired, where the Nth recording data block is a currently received recording data block, and N is greater than 1. Matching is performed between the Nth recording data block and a reference data block that is in a buffer, where the recording data block and the reference data block are data blocks with target duration. After the counter is on, the buffer buffers an audio data block played by the electronic device. If the Nth recording data block matches the reference data block in the buffer, a counting value is acquired. The counter performs counting if the recording data block does not match the reference data block. An echo delay is determined based on the target duration and the counting value.
A method for detecting an echo delay, applied to a first electronic device provided with a counter, and comprising:
An apparatus for detecting an echo delay, applied to a first electronic device provided with a counter, and comprising:
A non-transitory computer-readable storage medium storing a computer instruction, wherein the computer instruction is used for causing a computer to:
Dependencies are inferred from the claim text.