You are not logged in.

#1 2025-01-14 20:25:06

sbavert
Member
Registered: 2025-01-14
Posts: 2

How to "hide" the sink and "input stream" created by a module (such as

I'm using this plugin config
```
context.modules = [
    {
        name = libpipewire-module-echo-cancel
        args = {
            source.name = "echo_cancel_source"
            sink.name = "echo_cancel_sink"
            monitor.mode = true
            use.system.capture = true
            use.system.playback = true
            aec.type = "webrtc"
            source.props = {
                node.name = "echo-cancel-source"
                node.description = "Echo Cancelled Source"
            }
            aec.args = {
                         webrtc.gain_control = false   
                         webrtc.extended_filter = false
                     }
        }
    }
]
```

to echo cancel my audio but it turns out that it enables a constant input stream on my device (which is visible in both gnome shell as "microphone in use" indicator and in pavucontrol/pwvucontrol as an input stream. I want to hide that.

PS: The reason I want it to be hidden is because I don't want my gnome shell to constantly think that I'm using my microphone when it's just being redirected. This makes the microphone indicator useless leaving me no way to determine if some app is using my mic.

Offline

#2 2025-01-14 22:30:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,897

Re: How to "hide" the sink and "input stream" created by a module (such as

not trivially possible unless GNOME shell provides a way to ignore virtual sinks (which seeing it's GNOME, unlikely) you could load the module on demand when actually trying to use a microphone but that would require some scripting or you actively running a hotkey or so.

Offline

#3 2025-01-15 05:36:57

sbavert
Member
Registered: 2025-01-14
Posts: 2

Re: How to "hide" the sink and "input stream" created by a module (such as

V1del wrote:

not trivially possible unless GNOME shell provides a way to ignore virtual sinks (which seeing it's GNOME, unlikely) you could load the module on demand when actually trying to use a microphone but that would require some scripting or you actively running a hotkey or so.

Could you recommend where to start writing a script? is this script possible to be written in Bash or Python?

Offline

Board footer

Powered by FluxBB