Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

is there any way to stream audio from my Mac to my Linux computer (my av receiver is connected to that)?

share|improve this question

I think VLC can stream the audio over the network - take a look at

share|improve this answer

If you don't want to pay money for AirFoil, you can use SoundFlower on the Mac and ESounD or PulseAudio's ESounD-compatible module on the Linux machine. This article explains how to do that.

share|improve this answer
Nice, but not too easy to set up. – user3028 Feb 4 '11 at 0:00
The easy setup isn't free. The free setup isn't easy. Pick your poison :) – clee Feb 4 '11 at 0:27

You can use AirFoil ($25) for Mac to stream the sound to AirFoil Speakers for Linux (free).

This software works great.

share|improve this answer
Nice, bit no linux command line client. Thanks. – user3028 Feb 3 '11 at 23:59

This guide worked for me


Install Soundflower in your Mac.

# open network port 16002 to receive raw data for PulseAudio (in your receiver)
while true; do nc -l 16002 | pacat --latency-msec=1; done

# connect the audio input on OS X to a remote raw sound sink via esdrec and netcat (in your Mac)
esd -tcp -bind ::1 & sleep 2 && esdrec -s ::1 | nc <SERVER> 16002
share|improve this answer
works for me too. After trying some hours to connect with esd to pulseaudio (without success) this worked. Thanks! – lhlmgr Feb 23 '13 at 16:44

With XBMC installed on a Linux machine and without any other software on my Mac, I can stream anything I want.

To do this:

  1. Configure XBMC as an Airplay receiver : go to System > Services > Airplay and enable Airplay (I do not use password)
  2. On your Mac, Open Audio Midi Setup
  3. Right click on the Airplay item on the left side and choose “Use this device for sound output” from the Action pop-up menu.

Now, anything you play on your Mac should output to your Airplay device.

To reverse back to normal output (e.g. on a MacBook), right-click on another output (e.g. the standard speaker or integrated output) and choose “Use this device for sound output” from the Action pop-up menu.

See also : Audio Midi Setup: Set up your audio devices

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.