Audio processing method and device, electronic equipment and readable storage medium
The invention discloses an audio processing method and device, electronic equipment and a readable storage medium. The method comprises the following steps: storing a received audio frame in a buffer area; obtaining the number of the audio frames stored in the buffer area; reading audio frames to be...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses an audio processing method and device, electronic equipment and a readable storage medium. The method comprises the following steps: storing a received audio frame in a buffer area; obtaining the number of the audio frames stored in the buffer area; reading audio frames to be played from the buffer area, and adjusting the number of sampling points in the audio frames to be played according to the number of the audio frames; and playing the audio frame to be played after the number of the sampling points is adjusted. According to the method and the device, the problem that the audio playing is influenced due to the fact that the received audio data is not uniform due to network delay jitter is solved, so that the delay of the audio playing is reduced, and the audio playing effect is improved.
本申请公开了一种音频处理方法、装置、电子设备和可读存储介质,该方法包括:将接收到的音频帧保存在缓冲区中;获取保存在所述缓冲区中的音频帧的数量;从所述缓冲区读取出待播放的音频帧,根据所述音频帧的数量调整所述待播放的音频帧中的采样点的数量;对调整所述采样点的数量之后所述待播放的音频帧进行播放。通过本申请解决了因网络延时抖动导致接收到的音频数据不均匀从而影响音频播放的问题,从而减少了音频播放的延迟 |
---|