#include "common_audio/include/audio_util.h"
namespace webrtc {
void FloatToS16(const float* src, size_t size, int16_t* dest) { … }
void S16ToFloat(const int16_t* src, size_t size, float* dest) { … }
void S16ToFloatS16(const int16_t* src, size_t size, float* dest) { … }
void FloatS16ToS16(const float* src, size_t size, int16_t* dest) { … }
void FloatToFloatS16(const float* src, size_t size, float* dest) { … }
void FloatS16ToFloat(const float* src, size_t size, float* dest) { … }
template <>
void DownmixInterleavedToMono<int16_t>(const int16_t* interleaved,
size_t num_frames,
int num_channels,
int16_t* deinterleaved) { … }
}