You are not logged in.

#1 2025-04-07 14:15:07

jebez
Member
From: France
Registered: 2025-01-15
Posts: 104

[SOLVED] Virtual audio cable on Arch Linux?

I only found https://bbs.archlinux.org/viewtopic.php?id=196496 but pavucontrol & qjackctl gave nothing.

E.g. I want VLC streams to the microphone input of a video game, e.g. Half-Life.

Success on Windows 11 using VB-CABLE https://vb-audio.com/Cable/ :
https://drive.google.com/file/d/1eJCWGO … XbGRT9lk1c

Last edited by jebez (2025-04-09 19:36:51)

Offline

#2 2025-04-07 15:08:21

qu@rk
Member
Registered: 2021-07-28
Posts: 149

Re: [SOLVED] Virtual audio cable on Arch Linux?

You could probably do it by mixing sinks/sources https://wiki.archlinux.org/title/PulseA … rs_to_ALSA
You can then set which app uses what sink/source/mixer

Offline

#3 2025-04-07 19:03:06

V0VC
Member
Registered: 2024-05-30
Posts: 7

Re: [SOLVED] Virtual audio cable on Arch Linux?

Offline

#4 2025-04-07 22:43:12

jebez
Member
From: France
Registered: 2025-01-15
Posts: 104

Re: [SOLVED] Virtual audio cable on Arch Linux?

qu@rk KDE uses PipeWire, not PulseAudio.

V0VC thanks, it's pw-link in https://archlinux.org/packages/extra/x86_64/pipewire/ but GUI, but unfortunately here the microphone is an output (capture_FL & capture_FR), we can't connect VLC output to the microphone, output to output.
But with steam [Capture Stream] it works!
https://drive.google.com/file/d/1JaROKY … Av_JYLbWEk

Offline

#5 2025-04-08 07:52:43

qu@rk
Member
Registered: 2021-07-28
Posts: 149

Re: [SOLVED] Virtual audio cable on Arch Linux?

jebez wrote:

qu@rk KDE uses PipeWire, not PulseAudio.

Point still stands, you can create what you want, Pulseaudio or Pipewire.
https://superuser.com/questions/1675877 … nput-and-o
Random example.

Offline

#6 2025-04-08 22:24:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,520

Re: [SOLVED] Virtual audio cable on Arch Linux?

There's nearly no software that's a simple client that's tied to pipewire, pulse is by far the majority API and pipewire is a drop in, almost all pulse related guidances are directly applicable on pipewire.

That said for the task at hand I like the virtual-sink and virtual-source pulseaudio modules... which are explained in the thread you (jebez) linked, what exactly didn't work about the suggestion progandy gave there?

Last edited by V1del (2025-04-08 22:24:42)

Offline

#7 2025-04-08 22:37:39

mackin_cheese
Member
Registered: 2025-01-07
Posts: 475

Re: [SOLVED] Virtual audio cable on Arch Linux?

jebez wrote:

qu@rk KDE uses PipeWire, not PulseAudio.

V0VC thanks, it's pw-link in https://archlinux.org/packages/extra/x86_64/pipewire/ but GUI, but unfortunately here the microphone is an output (capture_FL & capture_FR), we can't connect VLC output to the microphone, output to output.
But with steam [Capture Stream] it works!
https://drive.google.com/file/d/1JaROKY … Av_JYLbWEk

buddy. the pw in qpwgraph stands for pipewiare, what are you saying?

Offline

#8 2025-04-08 23:49:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,520

Re: [SOLVED] Virtual audio cable on Arch Linux?

They  talked to qu@rk regarding the pipewire comment, I'm fairly sure they're aware.

Offline

#9 2025-04-09 00:22:50

jebez
Member
From: France
Registered: 2025-01-15
Posts: 104

Re: [SOLVED] Virtual audio cable on Arch Linux?

@V1del

pactl load-module module-virtual-source source_name=loop_source uplink_sink=loop_sink

gaves nothing, there isn't VLC, Audio, Audio Device, something, like VB-CABLE, & I rather wanna use PipeWire, pw-cli lm such_module but I not found https://docs.pipewire.org/page_modules.html ...


Well I'm quite satisfied by qpwgraph & steam [Capture Stream], it isn't like VB-CABLE (VLC, Audio, Audio Device, something) but it works.

Offline

#10 2025-04-09 19:05:53

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,520

Re: [SOLVED] Virtual audio cable on Arch Linux?

It will give you a virtual source and sink that you can then attach VLC to which you can then feed into your output.

For example

pactl load-module module-virtual-sink name='vlc_output_sink' master=physicalaudiodeviceyoustillwantaudiofrom #Replace the master with the sink_name of your actual audio card from pactl list sinks
pactl move-sink-input 12 vlc_output_sink #The 12 here is non deterministic but should be your vlc output, check pactl list sink-inputs
pactl move-source-output 15 vlc_output_sink.monitor #The 15 here is your game "mic recording" source, again index not deterministic, check pactl list source-outputs,  a monitor is the loopback of what VLC/is played to the vlc_output_sink

If you need more help, post the outputs of

pactl list sinks
pactl list sink-inputs
pactl list sources
pactl list source-outputs

with all the tools you want involved in this chain opened and active in their respective role (e.g. recording/playing something).

If you're happy with qpwgraph and don't want more help, please mark the topic as [SOLVED] by editing the title in your first post.

Last edited by V1del (2025-04-09 19:08:56)

Offline

#11 2025-04-09 19:39:03

jebez
Member
From: France
Registered: 2025-01-15
Posts: 104

Re: [SOLVED] Virtual audio cable on Arch Linux?

Offline

Board footer

Powered by FluxBB