Unfortunately I made one small change so that sound would come out of the 3.5mm jack and everything stopped. No amount of starting / rebooting or even changing the sound back to HDMI worked. Nothing was to be heard.
Anyway, this time I'm going to try again but using just a single source of information, http://mattshirley.com/adding-airplay-to-an-external-usb-audio-interface/
His approach certainly seems clearer than some of the others.
# Change to our home directory, install all the packages we need.
cd ~ apt-get install build-essential libssl-dev libcrypt-openssl-rsa-perl libao-dev libio-socket-inet6-perl libwww-perl avahi-utils pkg-config git emacs
sudo git clone https://github.com/albertz/shairport.git
cd shairport
sudo make
sudo git clone https://github.com/albertz/shairport.git
cd shairport
sudo make
# Install Net::SDP Perl module
sudo -s
perl -MCPAN -e 'install Net::SDP'
perl -MCPAN -e 'install Net::SDP'
I decided not to bother with this bit as I don't have a USB soundcard
# Demote the onboard soundcard and allow USB soundcards to become default
# Add 'options snd_bcm2835=-2'
# Comment out line 'options snd-usb-audio index=-2'
nano /etc/modprobe.d/alsa-base.conf
# Copy the example init script
cp shairport.init.sample /etc/init.d/shairport
# Edit the init script to point to Shairport
# NAME=RecordPlayer
# DAEMON="/home/pi/shairport/shairport.pl"
nano /etc/init.d/shairport
sudo update-rc.d shairport defaults
sudo reboot
Let's see what results we get tonight.
# Edit the init script to point to Shairport
# NAME=RecordPlayer
# DAEMON="/home/pi/shairport/shairport.pl"
nano /etc/init.d/shairport
sudo update-rc.d shairport defaults
sudo reboot