mpg123: High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3

背後可以接alsa/oss 等等很常見的 linux sound system. 這次將mpg123 porting 到 embedded system 上面且播放音樂成功.

1. configure CC=arm-arago-linux-gnueabi-gcc –host=arm-linux –target=arm –prefix=/home/kclin/workspace/ti/mpg123-1.14.4/ –with-optimization=3 –with-audio=alsa –with-default-audio=alsa –exec-prefix=/home/kclin/workspace/ti/mpg123-1.14.4/build

2. make

3. make install

播放音樂只需要

mpg123 -C xxx.mp3  # -C 指的是可利用鍵盤在command line 控制 離開(Q)/暫停(P)/停止(S)/最後(F)

 

 

Leave a Reply