Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pipewire pipewire
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 437
    • Issues 437
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • 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
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PipeWire
  • pipewirepipewire
  • Merge requests
  • !330

Improve alsa support on systems with poor DMA granularity

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Walter Lozano requested to merge wlozano/pipewire:is_batch into master Dec 04, 2020
  • Overview 25
  • Commits 2
  • Pipelines 2
  • Changes 2

Currently PipeWire is unable to reproduce audio in systems where DMA granularity is not burst.

In order to mitigate this issue, first set period_size depending on hardware, lowering it when snd_pcm_hw_params_is_batch == 1, to reduce DMA transfers size. Second adjust the delay PipeWire calculates to make sure that a period is available in the buffer.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: is_batch