Skip to content
GitLab
Projects Groups 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
    • Contributors
    • Graph
    • Compare
  • Issues 155
    • Issues 155
    • 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

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • PipeWirePipeWire
  • wireplumber
  • Merge requests
  • !463

bluez5: HW offload SCO support

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Frédéric Danis requested to merge fdanis/wireplumber:hw-SCO-with-hw-node into master Nov 28, 2022
  • Overview 5
  • Commits 2
  • Pipelines 6
  • Changes 3

For offload SCO, the audio stream should be routed to/from Bluetooth chipset via ALSA.
To do this, this commit prevent the creation of the sco-source or sco-sink nodes, and replace them by loopback nodes.
It's up to the platform to correctly set the route to the Bluetooth chipset ALSA entries.

When the loopback node state change to running, the script also call the bluetoothOffloadActive param of the device to start/stop the SCO link.

This also adds a sample script for PinePhone which selects the correct audio routes when the SCO offload loopback nodes are running.

Edited Dec 02, 2022 by Frédéric Danis
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: hw-SCO-with-hw-node