2

I have a Raspberry Pi connected to a sound system via the jack output. I'd like that the output of the sound card of my laptop was redirected to the Raspberry Pi.

I have read about mplayer daemon or icecast protocol but I don't really know how to make it work.

2
  • Laptop running Windows or Linux?
    – Jivings
    Jun 22, 2013 at 18:05
  • Linux, based on debian Jun 22, 2013 at 20:46

3 Answers 3

2

I recommend using pulseaudio for this, if you don't want to setup shairport and RAOP. The pulseaudio documentation describes how you can do this. You need to setup your debian laptop to provide a pulseaudio rtp sink. There is also a nice howto available on mpd and pulseaudio.

For some first tests, you can just run these commands through pacmd on your laptop to set up an rtp sink:

load-module module-null-sink sink_name=rtp
load-module module-rtp-send source=rtp.monitor
set-default-sink rtp

On the Pi, you will need to start the rtp receiver:

load-module module-rtp-recv

You can do this also via pacmd and put it later into a configuration file.

0

Raspi jack output has poor audio quality, you might be better off connecting your audio system directly to the laptop output or somehow use HDMI output if possible.

1
  • My laptop can't be near my audio system and I can't use HDMI output. I already tried the jack output and the quality is good enough for what I want to do. Jun 23, 2013 at 11:10
0

I think Shareport would do what you want to do - http://www.raspberrypi.org/phpBB3/viewtopic.php?f=38&t=41504 https://github.com/lukstei/shairport

1
  • I was thinking about something lighter Jun 29, 2013 at 9:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.