Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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

6 Answers 6

I think VLC can stream the audio over the network - take a look at http://www.videolan.org/doc/streaming-howto/en/

share|improve this answer

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

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
1  
The easy setup isn't free. The free setup isn't easy. Pick your poison :) –  clee Feb 4 '11 at 0:27

This guide worked for me http://tdotc.wordpress.com/2012/05/28/sound-matters/

Summary:

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! –  lee.O Feb 23 '13 at 16:44
up vote 0 down vote accepted

Thanks for the comments, another one solution:

http://www.wifi2hifi.com/

App coming in weeks.

share|improve this answer
    
Wifi2Hifi doesn't answer the question at all. Doesn't support linux as you requested. –  zevlag Feb 2 '11 at 19:45
    
"to my Linux computer (my av receiver is connected to that)?" the key is my receiver. –  user3028 Feb 3 '11 at 23:59

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

 
discard

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