Ubuntu Airplay

I use this to stream music from my computer to my Denon Heos N8 system (1st Generation Airplay)

sudo apt install avahi-daemon
mkdir -p ~/.config/pipewire/pipewire.conf.d
nano ~/.config/pipewire/pipewire.conf.d/raop-discover.conf

Paste the following:

context.modules = [
    { name = libpipewire-module-raop-discover }
]

Restart pipewire

systemctl --user restart pipewire pipewire-pulse

Now I can see the device as a sound output device.

Limit standard volume level

The problem is that once your Airplay device starts again, that it has 100% volume. To protect your ears limit the volume:

wpctl settings --save device.routes.default-sink-volume 0.001

This assures that when a new audio device (any device) connects to Ubuntu. It is at ~10% of volume.