目录

如何播放PCM格式的音频

问题现象

使用AVPlayer播放AudioCapturer录制的PCM格式音频时,发生异常错误。

问题根因

AVPlayer不支持直接播放PCM格式文件。

解决方案