Demo code for the Rio Receiver
Jeff Mock
2/28/1
Once you have a toolchain, kernel, and utilities running on
the Rio Receiver here is some demo code to run on the box.
Here's the latest demo code:
ftp://ftp.mock.com/pub/rio-utils/rio-demo.tgz
There are some simple programs to exercise the LCD display,
IR remote, the front panel switches, audio output, and audio
controls. There is also a program to generate high quality sine
wave test tones on the audio output. Should be self-explanatory.
Here is a port of mad-0.12.5b, Robert Leslie's GPL MP3
audio decoder. A copy of mad-0.12.5b is at:
ftp://ftp.mock.com/pub/rio-utils/mad-0.12.5b.tar.gz
Here is a patch to build mad for the Rio Receiver:
ftp://ftp.mock.com/pub/rio-utils/patch.mad-0.12.5b.gz
To build mad for the Rio Receiver on an X86 host:
% tar zxvf mad-0.12.5b.tar.gz
% gzip -d patch.mad-0.12.5b.gz
% cd mad-0.12.5b
% patch -p1 < ../patch.mad-0.12.5b
% sh JCM # configures build and fixes up makefiles for cross-compiler
% make
% cp madplay /tftpboot/hostname/
Copy an MP3 file to the NFS filesystem of the Rio Receiver and
run madplay from the serial port console of the receiver with
the filename as the parameter, should play audio real nice.
This is a demo of some basic pieces to build a player.