Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pulseaudio pulseaudio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 866
    • Issues 866
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 47
    • Merge requests 47
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PulseAudio
  • pulseaudiopulseaudio
  • Merge requests
  • !476

bluetooth: a2dp dual channel SBC XQ codec configurations

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Igor Kovalenko requested to merge igor.v.kovalenko/pulseaudio:pr/bluetooth-sbc-xq-with-bitrate-cap into master Jan 19, 2021
  • Overview 8
  • Commits 2
  • Pipelines 4
  • Changes 2

There are multiple definitions of SBC XQ, but in all cases this is SBC codec in Dual Channel mode, 8 bands, block length 16, allocation method Loudness, with bitpool adjusted to match target bitrates.

Most commonly chosen bitrates and reasons are:

  • 453000 - this yields most efficient packing of frames on Android for bluetooth EDR 2mbps
  • 512000 - this looks to be old limit stated in bluetooth documents
  • 552000 - this yields most efficient packing of frames on Android for bluetooth EDR 3mbps

Efficient packing considerations do not apply on Linux (yet?) but still we can gain from increased bitrate.

Desired SBC bitpool value is calculated from target bitrate limit; calculation could be open-coded if needed, no call to sbc library is actually required as bitrate formula is known from A2DP spec.

Issue ref #1092 (closed)

Edited Jan 19, 2021 by Igor Kovalenko
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: pr/bluetooth-sbc-xq-with-bitrate-cap