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 865
    • Issues 865
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 48
    • Merge requests 48
  • 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
  • !271

alsa-ucm: allow binding same mic to multiple profiles

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Libin Yang requested to merge libinyang/pulseaudio:multi-profile_mic into master Mar 21, 2020
  • Overview 16
  • Commits 1
  • Pipelines 5
  • Changes 1

When UCM configure assigns the same mic to different profiles, such as Speaker.conf: ... SectionDevice."Mic" { xxxx } ...

HiFi.conf: (use the same Mic} ... SectionDevice."Mic" { xxxx } ...

In this case, Speaker and HiFi profiles should both support "Mic" device.

However, in ucm_add_port_combination(), pulseaudio will check if the port has been already created before (In speaker.conf in in case), HiFi will never have chance to put the port to itself. This will cause HiFi don't support "MiC".

This patch's logic is: Create the port if necessary. Add the port as per the UCM requirement.

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

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: multi-profile_mic