WebRTC Series-Audio related tools of tool series


This article mainly introduces some audio tools in WebRTC, most of which are in common_audio the directory , which provides a large number of audio algorithms, including sinc resampling algorithm, audio data format conversion: such as float to int16_t format and other methods; at the same time The WavFile class is also provided to read and write wav files. Using this class can easily write pcm to the file and read the wav file; if the space is enough, here will also introduce the related implementation of
mixing , this part was actually introduced in the previous article, and its source code implementation will be analyzed in detail here; the
tool class introduced in this article is extracted from the demo, address: WebRTC_Tools

1. audio_util data format conversion class

The main external interfaces of this class are as follows:

void FloatToS16(

Guess you like

Origin blog.csdn.net/lym594887256/article/details/129245583
Recommended