Skip to content

Muting of Monitor Source with Pipewire #188

@quantenProjects

Description

@quantenProjects
Expected Behavior

If I mute a (monitor) source, the GUI should reflect the real mute status of the source. If muting is not possible it should ether be disabled in the GUI or should not change the mute state.

Current Behavior

When using pipewire-pulse as a pulseaudio replacement, if I mute a monitor source it will appear as muted (volume slider is grayed out). But the level indicator still shows sound and after restarting pavucontrol, the monitor source is unmuted again, since muting monitor sources seems not to be allowed with pipewire-pulse.

Possible Solution

One possibility would to disable the option to mute monitor sources. But since the original pulseaudio allows it, the running sound server may need to be detected and taken into account.

Another solution would be fixing the GUI, so it will not show the monitor source as muted even if it isn't.

Steps to Reproduce (for bugs)
  1. Use pipewire-pulse as sound server
  2. Open pavucontrol.qt
  3. Go to »Input Devices« and select »Show: Monitors«
  4. Click on the »Mute audio« button
  5. The monitor source seems to be muted
  6. Restart pavucontrol-qt and see, that the monitor source is not muted
Context

I found this by trying to debug my own pulseaudio control programm and tried to use pavucontrol-qt as a debugging tool: https://gitlab.com/quanten/pulseaudio-switchboard-operator/-/commit/e21348f84d71b6a45dcf4ffcf0638fbf51995f70

System Information
  • Distribution & Version: ArchLinux
  • Kernel: 5.11.4-arch1-1
  • Qt Version: 5.15.1
  • libqtxdg Version: 3.6.0-2
  • lxqt-build-tools Version: -
  • Package version: 0.16.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions