Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

media-video/pipewire: Drop alsa-plugins[pulseaudio] blocker #25269

Commits on Apr 30, 2022

  1. media-video/pipewire: Drop alsa-plugins[pulseaudio] blocker

    Currently alsa-plugins[pulseaudio] installs pulse plugin which is only enabled
    in alsa lib configuration if plugin can access pulseaudio server in runtime.
    This is implemented using a runtime conf hook in 51-pulseaudio-probe.conf
    
    Alsa lib runtime conf hooks are run after all static configuration is applied.
    This causes a problem to coexistence of pipewire-alsa and pulse plugin:
    - normally, pipewire-pulse is enabled which provides pulseaudio server
      connection to libpulse users
    - since pulseaudio server is accessible, pulse conf hook will override alsa
      pcm.!default and ctl.!default to use pulse plugin.
    
    To work around this, change pipewire-alsa plugin configuration from static conf
    to conf hook which will run after pulse conf hook. To make sure user can still
    override default device, make sure this new conf hook will also load
    /etc/asound.conf and ~/.asoundrc again like it is done by pulse conf hook.
    
    Since pipewire plugin will take precedence now if pipewire-alsa is installed,
    drop the blocker with media-sound/alsa-plugins[pulseaudio]
    
    Closes: https://bugs.gentoo.org/799881
    Closes: https://bugs.gentoo.org/791499
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
    i-garrison committed Apr 30, 2022
    Configuration menu
    Copy the full SHA
    81ce35c View commit details
    Browse the repository at this point in the history