To test your sound card using Madplay:
madplay-0.15.2b.tar.gz Download: click here.
libmad-0.15.1b.tar.gz Download: click here.
libid3tag-0.15.1b.tar.gz Download: click here.
1. Decompression: Tar xzf libid3tag-0.15.1b.tar.gz//Library
Tar xzf libmad-0.15.1b.tar.gz//Library
Tar xzf madplay-0.15.2b.tar.gz//APP
2. Compile libid3tag-0.15.1b
Cd/home/book/workspace/ubuntu_madplay/mkdir Temp
CD libid3tag-0.15.1b
./configure--host=arm-linux--prefix=/home/book/workspace/ubuntu_madplay/temp
Make
Make install
3. Compile libmad-0.15.1b
CD libmad-0.15.1b
./configure--host=arm-linux--prefix=/home/book/workspace/ubuntu_madplay/temp
cc1:error:unrecognized command line option "-fforce-mem" appears
Workaround: Find the makefile after Libmad configure,
Delete-fforce-mem
because GCC 3.4 or later, it has been removed, so the above error occurs. Make
Make install
4. Compile madplay
CD madplay-0.15.2b/
./configure--host=arm-linux--prefix=/home/book /workspace/ubuntu_madplay/temp ldflags= "-l//home/book/workspace/ubuntu_madplay/temp/lib" CFLAGS= "-i/home/book/ Workspace/ubuntu_madplay/temp/include "
Make
made install
5. Copy tmp/bin/* tmp/lib/*so* to root file system:
6. Copy a mp3 file to the root file system
7 madplay--tty-control/1.mp3
Keep pressing the keypad's minus sign ("-") to lower the volume during playback
continuously press the plus sign ("+") on the keypad to lower the volume