Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 678
    • Issues 678
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 154
    • Merge Requests 154
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Merge Requests
  • !17398

Closed
Opened Jan 24, 2021 by Dylan Van Assche@dylanvanasscheContributor
  • Report abuse
Report abuse

WIP: main/linux-rpi: fix distorted sound with PulseAudio

  • Overview 1
  • Commits 1
  • Pipelines 1
  • Changes 2

The audio driver on the Raspberry Pi does not work properly with PulseAudio time-based scheduling. Adding the SNDRV_PCM_INFO_BATCH flag, makes sure that PulseAudio disables time-based scheduling by default. This is the equivalent of setting tsched=0 in the PulseAudio configuration.

Tested on my Raspberry Pi 3 running postmarketOS and KODI as UI. Without this patch, watching any video on KODI results into choppy audio.

If the patch can be successfully applied, I can upstream it to the Linux kernel.

Based on: https://github.com/torvalds/linux/commit/7f2430cda819a9ecb1df5a0f3ef4f1c20db3f811

Edited Jan 24, 2021 by Dylan Van Assche
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: alpine/aports!17398
Source branch: linux-rpi-distorted-sound