CPC H04R 1/2873 (2013.01) [H04R 2460/13 (2013.01); H04R 2499/11 (2013.01)] | 15 Claims |
14. A terminal, comprising:
a first sound generator;
a second sound generator;
one or more processors; and
a memory that is coupled to the one or more processors, wherein the memory is configured to store computer program code, the computer program code comprises computer instructions, and the one or more processors invoke the computer instructions to enable the terminal to perform operations comprising:
playing a first audio signal through the first sound generator and playing a second audio signal through the second sound generator, wherein the first audio signal is an audio signal played by the terminal through the first sound generator in a first time period, and the second audio signal is an audio signal played by the terminal through the second sound generator in the first time period;
obtaining a plurality of frames of first audio signals to obtain a first audio signal sequence;
determining, based on the first audio signal sequence, that the first sound generator is damaged; and
in a second time period, playing a fourth audio signal through the second sound generator, and skipping playing an audio signal through the first sound generator, wherein the second time period is after the first time period.
|