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

pipewire defaults input to mic #451

Closed
HVisMyLife opened this issue May 1, 2022 · 5 comments
Closed

pipewire defaults input to mic #451

HVisMyLife opened this issue May 1, 2022 · 5 comments
Labels

Comments

@HVisMyLife
Copy link

When/where was the bug introduced?
My setup:

  • os: Arch
  • wm: sway (wayland)
  • audio: pipewire + pipewire-pulse
  • eq: easyeffects

Describe the bug
Cava visualizes microphone input (easyeffects source) instead of speaker output (easyeffects sink / speaker). I can change it in pavucontrol, but doing it every time isn't ideal...
I've tried changing pulse source in config in [input], but it does not make any difference ( number / name from "pactl list sinks" )

To Reproduce
Launch cava with my setup.

Terminal emulator

  • name: Kitty
  • version: latest

Thanks in advance

@HVisMyLife
Copy link
Author

I've found a temporary solution. You just have to exclude cava from input recorders in easyeffects, and it automatically chooses speaker output as input.

@karlstav
Copy link
Owner

karlstav commented May 2, 2022

I am going to re-open this issue as there seems to be more people struggling with this.

there is also a workaround mentioned here in #422

long term I think we need to create a native pipewire input module or modify the pulseaudio module so this does not happen

@karlstav karlstav reopened this May 2, 2022
@karlstav karlstav changed the title Cava defaults input to mic pipewire defaults input to mic May 2, 2022
@karlstav karlstav added the bug label May 2, 2022
@kivimango
Copy link

Hello. I have the same problem, cava picks up the audio from my microphone default.

I tried the fixes mentioned on #422, but it doesn't work for me, settings sources to other than microphone the bars don't move.
I remember that im using pipewire, but pactl info reports pulseaudio.

@karlstav
Copy link
Owner

karlstav commented Apr 2, 2023

I have a hard time reproducing the issue.

ubunut 22.10

pipewire
Compiled with libpipewire 0.3.58
Linked with libpipewire 0.3.58

pipewire-pulse
Compiled with libpipewire 0.3.58
Linked with libpipewire 0.3.58

wireplumber
Compiled with libwireplumber 0.4.12
Linked with libwireplumber 0.4.12

image

cava audio config is default settings. cava behaves as expected, muting mic does nothing. Also tried muting with alsamixer.

If anyone else is experience this issue, please make a test to see if your .monitor source gets muted when you mute the mic on the same card. If that is the case, then this is a bug in pipewire or wireplumber.

@karlstav
Copy link
Owner

closing this as we have native pipewire support now

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

No branches or pull requests

3 participants