Answer the question
In order to leave comments, you need to log in
How to forward sound from Windows to Linux?
The situation is this.
I have a home file server for Linux, built from what was. It also performs the functions of a media center: a TV set and an audio system are connected, the XBMC player is spinning. A Chinese remote control is connected to the server, XBMC is just for this remote control, so everything is perfect in terms of “watching a movie before going to bed”.
I also have a beloved wife, and my wife has a laptop. My wife loves to listen to music.
I honestly tried to teach her to listen to music through xbmc. But damn it, it's really disgustingly inconvenient (whoever used it knows). Well, in general, it’s hard for me to imagine how you can do this conveniently from the remote control. In principle, there are wireless keyboard and mouse, but getting them out of the closet, turning off the xbmc and running some kind of amarok is somehow too much if you just need to listen to music.
In general, today my wife asked me to make Winamp play on large speakers from her laptop.
And here the ambush begins - but how to forward sound from windows to linux?
Well, yes, I quickly googled Shoutcast and the like. Put. Shoutcast even has a winamp plugin that does pretty much what I needed. Almost.
The scheme there is as follows: the winamp plugin sends the sound to the shoutcast server, which mpg123 enters and actually plays the sound on the speakers.
But all this is designed for Internet radio stations. That is, if you closed Winamp, the thread in the shuttercast is killed and, accordingly, mpg123 falls off. And next time you will have to run mpg123 manually. Moreover, it will not start until this thread appears.
You can write a script that will run mpg123 in an endless loop, and put it in autorun. But it somehow turns out very crookedly.
The second problem is that neither the winamp plugin, nor the shuttercast, nor mpg123 allow you to adjust the volume. Not at all. (Yes, mpg123 has a g key marked as deprecated, but it doesn't seem to work). That is, everything goes at a volume of 100% ... and since the speakers are tuned for movies, it comes out like a hell of a roar.
Actually the question is: maybe I'm looking in the wrong direction? Maybe there is some tricky sound driver that will take the sound in one place and output it in the only other? I don't need an excavator, give me a shovel!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question