How to get AUDIO forwarding to work... if it's possible?
from WereCat@lemmy.world to linux@lemmy.ml on 25 Jun 17:45
https://lemmy.world/post/31983108

Hi, so I will try to hopefully explain as best as I can.

These are my devices:

What I want to achieve:

Have audio from all devices output from Headphone1 on my PC without having to use physical or software mixer.

What I managed to get working but sux due to audio stutter or delay:

Have audio from all devices output from Headphone2

How?

BUT, this causes phone audio to stutter via Headphone2 and audio from PC has at least 500ms delay.

Wish there was a way to forward audio from Linux Laptop to Windows PC the same way as from Android Phone to PC.

Any clues?

#linux

threaded - newest

BigMikeInAustin@lemmy.world on 25 Jun 19:17 next collapse

A long, long, long time ago I used a program/app that would forward a Windows PC sound to an Android phone.

Sorry, that’s not really helpful.

thejevans@lemmy.ml on 25 Jun 19:18 next collapse

With ffmpeg in windows, you can listen to a UDP stream using the ffplay command. you can set up a udp stream as an output in ffmpeg in Linux. I would set up a virtual sink that goes nowhere in pulseaudio or pipewire to set as your output device and have ffmpeg listen to that sink. There are lots of options in ffmpeg available to tweak latency and quality.

WereCat@lemmy.world on 25 Jun 19:23 collapse

Will give that a try tommorrow. Thanks for suggestion I had no idea ffmpeg can do this

thejevans@lemmy.ml on 25 Jun 19:25 collapse

ffmpeg can make you breakfast if you try hard enough lol. It’s so versatile

Hupf@feddit.org on 25 Jun 19:32 next collapse

youtu.be/9kaIXkImCAM

thejevans@lemmy.ml on 25 Jun 19:51 collapse

lol I do love this video

N0x0n@lemmy.ml on 25 Jun 23:12 collapse

It’s very versatile and does a lot of things and I do like ffmpeg and use it a lot !

Too bad their AV1 and OPUS implementation is bad and even outdated for opus :( !

D_Air1@lemmy.ml on 26 Jun 05:37 collapse

Maybe pipewire and the ROC protocol? I’m not sure if it can be used on windows. You will have to refer to their documentation to get anything working. On Arch the package is called pipewire-roc. On Android the app you will need is roc droid. I have used it from linux to android, but have never introduced windows into the mix.