US 12,481,478 B2
Audio playback method and device
Lei Shi, Beijing (CN)
Assigned to Beijing Zitiao Network Technology Co., Ltd., Beijing (CN)
Appl. No. 18/570,066
Filed by Beijing Zitiao Network Technology Co., Ltd., Beijing (CN)
PCT Filed Sep. 5, 2022, PCT No. PCT/CN2022/117120
§ 371(c)(1), (2) Date Dec. 14, 2023,
PCT Pub. No. WO2023/036092, PCT Pub. Date Mar. 16, 2023.
Claims priority of application No. 202111066580.0 (CN), filed on Sep. 13, 2021.
Prior Publication US 2024/0281201 A1, Aug. 22, 2024
Int. Cl. G06F 3/16 (2006.01)
CPC G06F 3/165 (2013.01) 18 Claims
OG exemplary drawing
 
1. A method for audio playback, comprising:
receiving an instruction for rate adjustment, wherein the instruction for rate adjustment is configured to adjust an audio playback rate from a first multiple of a preset standard rate to a second multiple of the preset standard rate;
creating a second audio filter according to the second multiple;
calling the second audio filter to perform rate change processing according to the second multiple on second audio data in a first cache to obtain third audio data, wherein the second audio data is obtained after a first audio filter performs first processing on first audio data, and the first processing comprises at least one of the following: audio decoding, a format conversion, sampling, and a channel conversion; and
playing the third audio data,
wherein the calling the second audio filter to perform rate change processing according to the second multiple on second audio data in a first cache to obtain third audio data comprises:
calling the second audio filter to perform the rate change processing according to the second multiple on the second audio data in the first cache to obtain the third audio data in response to determining that an audio data amount in a player cache is less than or equal to a first data amount threshold.