Skip to content

Routing changes not correctly applies #10

@Frank-Krick

Description

@Frank-Krick

Link deletion on metadata changes for group and input channel selection doesn't delete links most of the time.

This seems to be cause by an object manager in the lua script not seeing the existing links.

        local source_port_id = tonumber(source_port.properties["object.id"])
        print("Found source port, removing existing links for port",
                source_port_id)
        for link in MyObjectManager:iterate(
                Interest({
                    type = "link",
                    Constraint({ "link.output.port", "=", source_port_id }),
                })) do
            print("destroying existing link")
            link:request_destroy()
        end

This is in wireplumber/pmx_manage_connections.lua

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