Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • W wireplumber
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 143
    • Issues 143
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • 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
  • !130

Simplify endpoints and refactor session item

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Julian Bouzas requested to merge julian/wireplumber:simplify-endpoints into master Mar 18, 2021
  • Overview 0
  • Commits 12
  • Pipelines 1
  • Changes 50

This MR refactors wireplumber, simplifying a lot the code:

  • Removes the WpEndpointStream API. the WpEndpointLink object links WpEndpoint's instead of WpEndpointStream's now.
  • Refactors WpSessionItem to inherit from WpObject. The activate and export APIs are gone, you need to use WP_SESSION_ITEM_FEATURE_ACTIVE and WP_SESSION_ITEM_FEATURE_EXPORTED in wp_object_activate instead.
  • Adds a wp_session_item_register and wp_session_item_remove to register and unregister session items in the registry. Object managers can now listen for session items.
  • Renames si-simple-node-endpoint to si-node.
  • Renames si-monitor-endpoint to si-monitor
  • Renames si-adapter to si-audio-adapter because it is only meant to be used with audio, not video
  • Renames si-convert to si-audio-convert because it is only meant to be used with audio, not video
  • Renames adapter's algorithms.c file to audio-utils.c
  • Makes WpImplEndpoint and WpImplEndpointLink public so that they can be used in session item modules.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: simplify-endpoints