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 785
    • Issues 785
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 56
    • Merge Requests 56
  • 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
  • !280

Closed
Opened Apr 06, 2020 by Arnaud Ferraris@a-wai
  • Report abuse
Report abuse

switch-on-port-available: only switch profile if not selected by user

  • Overview 5
  • Commits 1
  • Pipelines 1
  • Changes 1

When switching to/from a newly available port, pulseaudio automatically switches to the preferred profile if not active. However, if the current profile has been selected by the user, this doesn't make sense, as the user probably wants to keep using the same profile with a different port combination.

For example, this happens when switching to a "Voice Call" profile, then plugging a headset. The profile is then switched to the default "HiFi" profile, even though the phone call is still ongoing and the user still needs the "Voice Call" profile to be active.

This patch keeps track of user-initiated profile changes, and adds a new condition so that profile is automatically switched only when it wasn't previously selected by the user.

Signed-off-by: Arnaud Ferraris arnaud.ferraris@collabora.com

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: pulseaudio/pulseaudio!280
Source branch: switch-port-not-profile