You are not logged in.

#1 2025-08-06 07:40:50

hjk321
Member
Registered: 2025-02-21
Posts: 10

Added new microphone; Firefox and ONLY Firefox has no sound

So, I added a new user config to pipewire, and it works fine:

context.modules = [
    { name = libpipewire-module-filter-chain
        args = {
            node.description = "DeepFilter Noise Canceling Source"
            media.name       = "DeepFilter Noise Canceling Source"
            filter.graph = {
                nodes = [
                    {
                        type   = ladspa
                        name   = "DeepFilter Mono"
                        plugin = /usr/lib/ladspa/libdeep_filter_ladspa.so
                        label  = deep_filter_mono
                        control = {
                            "Attenuation Limit (dB)" 100
                        }
                    }
                ]
            }
            audio.rate = 48000
            audio.position = [MONO]
            capture.props = {
                node.passive = true
            }
            playback.props = {
                media.class = Audio/Source
            }
        }
    }
]

And then I reloaded the pipewire systemd module. Now, ONLY firefox and nothing else has no audio. In the KDE tray mixer widget, firefox visually shows as outputting audio, but I can't hear any of it. Chromium works fine. I tried reinstalling AND refreshing firefox to no avail. Arch wiki does not have this in firefox's troubleshooting section.

EDIT: Installed pavucontrol. Turns out firefox got stuck on some phantom audio device of which there are many on my computer. Any tips to blacklist/hide certain pipewire devices from being seen by applications? Can anyone shed light on why pipewire dropped the ball / how to prevent this shit from happening again?

Last edited by hjk321 (2025-08-06 07:51:44)

Offline

Board footer

Powered by FluxBB