Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Routing/playing audio/sound from Linux PC to Windows PC (Read 14270 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Routing/playing audio/sound from Linux PC to Windows PC

Does anyone have any idea how I can route audio from my Linux PC to my friend's Windows PC? E.g. my Linux PC doesn't have speakers but my friends Windows PC has the.

I'm interested in working solutions not ideas.

Routing/playing audio/sound from Linux PC to Windows PC

Reply #1
One of the following:

1.) Spend $20 USD on speakers for your Linux PC.

2.) Share up the music folder on your Linux PC and let your friend's PC connect to it via the local network.  Play the music using media player software on the Windows PC. This is assuming both are on the same network.  This is the main method for a source computer that has no sound chipset/card.

3.) Use a 1/8" (3.5mm) male-to-male stereo cable to route the LINE-OUT from your Linux PC to the LINE-IN of your friend's Windows PC.  Make sure the line-out/line-in aren't muted on the respective PCs.  Use media player software on your Linux PC to play the music.  This assumes you have a sound chipset/card in your Linux PC, but no speakers.

Such a male-to-male cable has connectors that look like:


Routing/playing audio/sound from Linux PC to Windows PC

Reply #2
Does anyone have any idea how I can route audio from my Linux PC to my friend's Windows PC? E.g. my Linux PC doesn't have speakers but my friends Windows PC has the.

I'm interested in working solutions not ideas.

Mount your music directory using samba (now called cifs). The command is mount.cifs but you will need to install the relevant samba/cifs server as a service and set it up (check file wall does nto block it, etc...). Should be only 2 or 3 commands but they vary from distribution to distribution so need to consult the relevant documentation. Your friend should then be able to get at your music directory via a windows share without changing anything at his end.

Other alternatives are to stream the music from your linux box to the other computer or to install unix software on the Windows machine to access a directory on your linux machine.

Routing/playing audio/sound from Linux PC to Windows PC

Reply #3
A third option, maybe more in line of what you want, consists of using the windows version of pulseaudio:

http://www.pulseaudio.org/wiki/DownloadPulseAudio#Binaries

(It is older than the linux version, but it works).

This will allow you to configure the windows PC as a "sound server", and configure your linux to output to that sound server.

There is information in the linux page as to how to make almost every sound output to use pulseaudio, and if you use a recent linux distro, it is possible that it uses pulseaudio by default, so you would just have to specify that you want to use the windows server instead of your local (linux) server.


If you need more info, (and you cannot get it on pulseaudio's page), just ask again.




Routing/playing audio/sound from Linux PC to Windows PC

Reply #5
Thanks for NOT saying that it is what I've told you.

You know.. you may appear as a useless user, since you can't be helped.

Routing/playing audio/sound from Linux PC to Windows PC

Reply #6
I needed a working solution, not a link to PulseAudio server

However, I thank you, Mr. [JAZ], for pointing me in the right direction.

Routing/playing audio/sound from Linux PC to Windows PC

Reply #7
If i gave you a link to pulse audio because i use pulseaudio in a linux<->windows solution.

What i didn't pretend is to put a big post for what could mostly be found using the FAQ of pulseaudio and a bit of help here and there.

That's why i said "if you need more info ask again".

Routing/playing audio/sound from Linux PC to Windows PC

Reply #8
My first post:
Quote
I'm interested in working solutions not ideas.

Routing/playing audio/sound from Linux PC to Windows PC

Reply #9
Birdie, congratulations! You are officially the first entry on my ignored users list.

Routing/playing audio/sound from Linux PC to Windows PC

Reply #10
My first post:
Quote
I'm interested in working solutions not ideas.


Samba, nfs, ssh, etc... are general solutions for getting two computer to communicate. They are the robust general purpose solutions and have been working for a great many years. Pulse-audio is an audio solution for enthusiasts as you will no doubt soon find out. It usually works but has issues as you can soon establish by browsing a few linux forums.

Routing/playing audio/sound from Linux PC to Windows PC

Reply #11
The OP also didn't state whether the computers were in the same room, the same network, the same building, or 20 miles apart.

You don't get specific and detailed in your request, you won't get a specific and detailed answer.

Routing/playing audio/sound from Linux PC to Windows PC

Reply #12
The OP also didn't state whether the computers were in the same room, the same network, the same building, or 20 miles apart.

You don't get specific and detailed in your request, you won't get a specific and detailed answer.


That's exactly the point: routing audio via network connection using e.g. PulseAudio can be used under any circumstances if your network connection has a high bandwidth, low latency and no packets drop, where as all other things suggested can be used only in certain situations.

Please, close this thread since it's becoming a flamebait.

Routing/playing audio/sound from Linux PC to Windows PC

Reply #13
By your own definition pulseaudio can also only be used in certain situations ("high bandwidth, low latency and no packets drop").

This thread isn't "flamebait" You asked an unspecific question. You were given good general advice. Your response was appallingly bad-mannered and ungrateful. Don't be surprised if no-one here bothers to help you again......

Routing/playing audio/sound from Linux PC to Windows PC

Reply #14
Thank you for quite useless advice, here's the working solution.

Although vague, that two replies are spot on ideas, samba share or this audio server would both work. Thanks for the detailed yet simple looking guide you bothered to post, lots of people don't give a fcuk once they find what they want & just leave the thread dead but you could be more thankful too.

Routing/playing audio/sound from Linux PC to Windows PC

Reply #15
OK, here's a guide for routing audio from your Linux PC to your Windows PC using a high bandwidth (actually 2Mbit/sec will suffice), low latency and no packets drop network connection:

1. Download Windows version of PulseAudio (http://www.cendio.com/pulseaudio/): pulseaudio-0.9.6-1.win32.zip (911 KiB).
2. Extract this archive and in the directory with PulseAudio create a file named "default.pa" with the following content:
Code: [Select]
load-module module-native-protocol-tcp listen=0.0.0.0 auth-anonymous=1
load-module module-waveout

3. Run pulseaudio.exe file.
4. Add pulseaudio.exe to the list of Windows firewall exceptions or allow incoming connections to TCP port 4713.
5. On your Linux PC in /etc/pulse/client.conf file add or alter this setting:
Code: [Select]
default-server = 192.168.0.10

where 192.168.0.10 is the IP address of your Windows PC.

If you Linux PulseAudio (server) is set up correctly, everything should work right away.