How do I stream music to my AirTunes?
1) PulseAudio
We can define an existing AirTunes device (e.g. Airport Express) as an output audio sink for Pulse Audio by installing paprefs and pulseaudio-module-raop and running Pulseaudio Preferences:
In the first tab Network Access tick "Make discoverable Apple AirTunes sound devices available locally".
As soon as the device is registered in the local network we can switch to this device from Sound Settings:
Choose the name you have registered your AirTunes device (e.g. "Wohnzimmer" in this example). Note that we can not switch the output while a media player is streaming to our soundcard. Pause or stop your player before changing output sinks. Streams will have a delay of about 3 to 4 seconds.
2): VLC
The vlc media player claims to be able to stream audio via the RAOP protocol directly to an AirTunes device. However so far I was unable to achieve this with VLC 2.0 so I can't give you directions here.
3) Stream2ip
After downloading and installing the DEBIAN package for stream2ip the application needs to be set up for streaming to the Air Tunes device by running Preferences from the man window:
Select the device Airport Express and type in the IP (the port is optional) of the device. By choosing Autoconnect and a time interval >0 seconds the application will listen for the AirTunes device on the given IP to connect as soon as the device is ready:
The advantages of stream2ip over simply using Pulseaudio Sound Settings are:
- Wait for a device to connect as soon as it is present.
- Re-establish an interrupted connection.
- No need to stop playback of a running media player to connect.
- Restore previous output when the external device is turned off
ps3mediaserver should be able to stream music to your AirTunes.