调用mpg123的时候出现错误:
src/mpg123.c:1191] error: Error setting output parameters. Do you need a usage reminder
pi@raspberrypi:~/voice_control $ sudo mpg123 faster.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.25.10; written and copyright by Michael Hipp and others
free software (LGPL) without any warranty but with best wishes
[src/libout123/libout123.c:233] error: bad parameter code 8
main: [src/mpg123.c:1191] error: Error setting output parameters. Do you need a usage reminder?
可能缺少安装与libmpg123关联的开发包:
sudo apt-get install libmpg123-dev