Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
pulseaudio
pulseaudio
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 803
    • Issues 803
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 55
    • Merge Requests 55
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PulseAudio
  • pulseaudiopulseaudio
  • Merge Requests
  • !370

Open
Created Sep 18, 2020 by Libin Yang@libinyangContributor
  • Report abuse
Report abuse

module-switch-on-port-available: check default sink/source before switch

  • Overview 6
  • Commits 1
  • Pipelines 1
  • Changes 1

When a port is unplugged, pa will scan all the ports and pick up the highest priorirty port and switch to that port. This will cause the issue described in #984 Let's image there are 2 sinks: hdmi sink, speaker+headphone sink. The speaker is selected as the output port. When unplugging the HDMI, we hope the speaker is still the default output port. But actually, PA will switch to the headphone if headphone's priority is higher than speaker.

This patches will check if the sink/source is the default sink/source firstly.

Signed-off-by: Libin Yang libin.yang@intel.com

Assignee
Assign to
Reviewer
Request review from
15.0
Milestone
15.0
Assign milestone
Time tracking
Source branch: port_switch