Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • W wireplumber
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 166
    • Issues 166
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PipeWirePipeWire
  • wireplumber
  • Merge requests
  • !482

Remove endpoints API and use virtual nomenclature instead

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Julian Bouzas requested to merge no-endpoints into next-rebased Feb 06, 2023
  • Overview 0
  • Commits 4
  • Pipelines 3
  • Changes 47

This MR removes the WpEndpoint API because it was never really used. The si-audio-endpoint session item has also been renamed to si-audio-virtual to avoid confusions.

Finally, the old policy that was handling si-audio-endpoint session items has been also ported to the event stack. This basically removes both the policy-endpoint-client.lua and policy-endpoint-device.lua scripts, and creates a new linking/find-virtual-target.lua script to link clients with si-audio-virtual session items if one of them can be found. The policy-endpoint-client-links.lua has also been refactored into a new scripts/rescan-virtual-links.lua to use the event stack. The idea is for the scripts/link-target.lua to create all links but only activate non virtual links, and for the scripts/rescan-virtual-links.lua to activate/deactivate all virtual links based on role priorities.

cc @ashoks

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: no-endpoints