代码改变世界
命令如下
ffplay -i file.pcm -f s16le -ac 1 -ar 8000 ffplay -i file.g711a -f alaw -ac 1 -ar 8000 ffplay -i file.g711u -f mulaw -ac 1 -ar 8000
说明:
-f #格式 -ac #音频通道 -ar #采样率