streaming to Airtunes (Airport Express) with PulseAudio
We have an Airport Express, but using would normally require using Steph's computer, or the computer downstairs. So instead I thought I'd give the support in PulseAudio a go.
It's pretty easy to set up. Install the (Debian/Ubuntu) packages paprefs pavucontrol pulseaudio-module-raop pulseaudio-module-zeroconf (Fedora packages might have different names). Run paprefs and tick the option to discover Airtunes devices.

Then using pavucontrol you can set the output device for an application.

It's not perfect yet, it can sometimes get stuck skipping, and you have to move the stream to your local computer and back to the Airport (apparently the buffering is just implemented using windowing, but maybe needs to be smarter?), but it's working pretty good. Still, it's insanely neat, and because it's in PulseAudio, you can redirect any stream you like (not just from your music player).
It's not just Airtunes either. You can stream to other PulseAudio servers (discovered over mDNS) as well as UPnP media renderers.

Comments
oh dear lord
The UPnP AV MediaServer stuff seems to handle that mode of operation quite well and doesn't have an encryption key lockout.
James.
Why linux will never be ready for the desktop...
Yeah, 'pretty easy to set up' if you happen to know exactly which weirdly named packages to install. Not exactly your fault, but software installation is still one of the major weaknesses of linux. It's fine if you know the package to install, and it is in your distro's repository, but otherwise you pretty much have to google for ages/build from source.
Anyway, good work. Even if PulseAudio is a buggy pile of 90's KDE.
Re: Why linux will never be ready for the desktop...
See: http://pipebreaker.pl/dump/pa-raop/papre
Re: Why linux will never be ready for the desktop...
This would make paprefs and pavucontrol unnecessary for normal users; and pulseaudio-module-zeroconf and pulseaudio-module-raop could be installed by default (or on demand, when the user clicks the hypothetical "show Airtunes stations" checkbox in Rhythmbox).
Progress
Glad you like the PA Airtunes support as I wrote it :)
It's not perfect but we're hoping to improve the latency and other issues in the next release but I can't say too much more about it just now :p
The preferences dialog is also changing, I'm ultimately bringing paprefs and pavucontrol together so there is just one app needed which will be less confusing overall.
I'm not really sure about putting dialogs etc. into the individual apps as that then requires whatever app you are using to specifically integrate into PA and know much more about it than it should (the audio apps should really, for the most part, be ignorant to the underlying sound stack).
A further thing we're probably going to do is write a new dock app outside of PA that does the detection of remote things (other PA, Airtunes, upnp, and maybe bluetooth too) and present the user with an easy UI to actually turn a detected device into an available device. This would get rid of all the -dectect modules we have in PA just now and give a bit of choice to the user.
This new UI is just in the planning stage and but I've made a start on the paprefs/pavucontrol merge.
Take care
Col
sorry to bother
I've played with RAOP some months ago through gstreamer bit pulseaudio integration sounds lovely.
Just a newbie question:
I installed packages and checked the configutation alright but can't see the airtunes device showing off ?
What's the good way to debugg this ?
How can I make sure the airtune device to be discovered properly ?
Thanks for your help.
Paul, ubuntu 9.10 with some gnome/xorg? blanck screen bug sometimes
Can't see AirTunes
machine to this device.
Claus
Streaming to airport
Unclick and reclick
Re: Unclick and reclick