Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio passthrough not working [Pipewire] #298

Open
YourSandwich opened this issue Dec 30, 2021 · 9 comments
Open

Audio passthrough not working [Pipewire] #298

YourSandwich opened this issue Dec 30, 2021 · 9 comments

Comments

@YourSandwich
Copy link

Hi :)

Currently audio passthrough is not working using pipewire. It always passthroughs the microphone not careing about my config.
It worked some time ago on pipewire. It may be caused by some pipewire chanegs.

Pipewire version 0.3.42
It worked probably at around 0.3.20

Best Regards,
Sandwich

@AngelSherry
Copy link

AngelSherry commented Jan 14, 2022

I'm also in the same issue.

I have set the option Audio Sink to the same default output alsa_output.pci-0000_00_1f.3.analog-stereo on sunshine, but strangely, it will only record input stream from my microphone, which seems just like Audio Sink being setting to alsa_input.pci-0000_00_1f.3.analog-stereo.

After recent update, I can record output stream from applications on OBS correctly. The case of OBS before I update is similar to sunshine, in which I can only either record stream from my microphone or nothing.

There is the information of my audio devices:

$ pw-play --list-targets

Available targets ("*" denotes default): alsa_output.pci-0000_00_1f.3.analog-stereo
*       31: sink description="Built-in Audio Analog Stereo" prio=1009
$ pw-record --list-targets

Available targets ("*" denotes default): alsa_input.pci-0000_00_1f.3.analog-stereo
*       32: source description="Built-in Audio Analog Stereo" prio=2009
31: sink description="Built-in Audio Analog Stereo" prio=1009
58: stream description="PipeWire ALSA [plasmashell]" prio=-1

@YourSandwich
Copy link
Author

I'm also in the same issue.

I have set Audio Sink to the same default output alsa_output.pci-0000_00_1f.3.analog-stereo on sunshine, but strangely, it will only record input stream from my recorder, which seems just like Audio Sink being setting to alsa_input.pci-0000_00_1f.3.analog-stereo.

After recent update, I can record output stream from applications on OBS correctly. The case of OBS before I update is similar to sunshine, in which I can only either record stream from my recorder or nothing.

Exactly, has similar issues with OBS.

@AngelSherry
Copy link

AngelSherry commented Jan 14, 2022

I'm also in the same issue.
I have set Audio Sink to the same default output alsa_output.pci-0000_00_1f.3.analog-stereo on sunshine, but strangely, it will only record input stream from my recorder, which seems just like Audio Sink being setting to alsa_input.pci-0000_00_1f.3.analog-stereo.
After recent update, I can record output stream from applications on OBS correctly. The case of OBS before I update is similar to sunshine, in which I can only either record stream from my recorder or nothing.

Exactly, has similar issues with OBS.

Since I updated recently, the issue of OBS seems to be gone. Now I can record from both sound of system and microphone.

I have to say though pipewire is awesome, it is still unstable. And it may mess everything up easily.

@YourSandwich
Copy link
Author

I'm also in the same issue.
I have set Audio Sink to the same default output alsa_output.pci-0000_00_1f.3.analog-stereo on sunshine, but strangely, it will only record input stream from my recorder, which seems just like Audio Sink being setting to alsa_input.pci-0000_00_1f.3.analog-stereo.
After recent update, I can record output stream from applications on OBS correctly. The case of OBS before I update is similar to sunshine, in which I can only either record stream from my recorder or nothing.

Exactly, has similar issues with OBS.

Since I updated recently, the issue of OBS seems to be gone. Now I can record from both sound of system and microphone.

I have to say though pipewire is awesome, it is still unstable. And it may mess everything up easily.

I love Pipewire but some updates sucks like in this case. Do you use arch? Is the issue also gone for you in sunshine?

@AngelSherry
Copy link

I'm also in the same issue.
I have set Audio Sink to the same default output alsa_output.pci-0000_00_1f.3.analog-stereo on sunshine, but strangely, it will only record input stream from my recorder, which seems just like Audio Sink being setting to alsa_input.pci-0000_00_1f.3.analog-stereo.
After recent update, I can record output stream from applications on OBS correctly. The case of OBS before I update is similar to sunshine, in which I can only either record stream from my recorder or nothing.

Exactly, has similar issues with OBS.

Since I updated recently, the issue of OBS seems to be gone. Now I can record from both sound of system and microphone.
I have to say though pipewire is awesome, it is still unstable. And it may mess everything up easily.

I love Pipewire but some updates sucks like in this case. Do you use arch? Is the issue also gone for you in sunshine?

Yep, but I'm still in this case in sunshine.

@ghostface
Copy link

Same here.
I noticed however that In pavucontrol - in the input device tab, if I change the fallback to "monitor of sink-sunshine-stereo" it works correctly.

@akhil-rana
Copy link

Same here. I noticed however that In pavucontrol - in the input device tab, if I change the fallback to "monitor of sink-sunshine-stereo" it works correctly.

Thanks a lot. This worked for me

@YourSandwich
Copy link
Author

@ghostface epic thaks.

@sirrkitt
Copy link

sirrkitt commented Apr 5, 2022

Just wanted to add this little tidbit here that if I run the following before starting a stream:

pactl load-module module-null-sink media.class=Audio/Duplex sink_name=sink-sunshine-stereo audio.position=FL,FR

I can go into my sound settings and switch the output to "sink-sunshine-stereo" and everything works swell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants