Last Updated: February 25, 2016
· yottanami

Stream audio over network

There are many ways to stream audio over network, here is one of the easiest ways :

sudo  modprobe snd-aloop index=1 pcm_substreams=1
arecord -fdat -Dplughw:Loopback,1 | ssh -C REMOTE_USER@REMOTE_IP aplay

It stream over SSH, after running above command you should just open your player and configure your player to play over alsa device "plughw:Loopback"