How to redirect from Audio Output to Mic Input using PulseAudio?

好久不见. 提交于 2019-11-30 11:32:11

The manuals for pactl and pacmd are readily available if you give it a search. I found them here:

pactl

pacmd (pulse-cli-syntax)

I think you are interested in the following excerpt from the pactl manual:

move-sink-input ID SINK : Move the specified playback stream (identified by its numerical index) to the specified sink (identified by its symbolic name or numerical index).

You should be able to use pactl list sink-inputs, pactl list source-outputs, pactl list sinks, and pactl list sources combined with some grep and/or sed or something of that nature to programmatically determine the correct stream and sink.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!