Streaming audio from Linux to Android using PulseAudio over LAN

Suppose you are in a situation where you want to watch a movie on your TV or monitor but don’t want to use speakers. Maybe you are looking to listen to an audio book stored on your laptop but don’t want to transfer it to your phone. Or you just want to buy an audio jack splitter. Look no further, PulseAudio to the rescue.

PulseAudio provides streaming via SimpleProtocol on TCP via a simple command. All you need to do is find the source and start streaming it.

You can find the source by running this command:

pactl list | grep "Monitor Source"

After this, you can run:

pactl load-module module-simple-protocol-tcp rate=48000 format=s16le channels=2 source=<SOURCE> record=true port=<PORT (eg 8000)>

Next, you will need to download PulseDroid, the apk can be found in the Github repository or you can use the following command to download it using wget:

wget https://github.com/dront78/PulseDroid/raw/master/bin/PulseDroid.apk

Just enter the IP address of your machine (you can find it by running ifconfig) and the port you chose and press the Start button.

Leave a Reply

Scroll to Top