media-video/pipewire: Drop alsa-plugins[pulseaudio] blocker #25269
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently
alsa-plugins[pulseaudio]
installs pulse plugin which is only enabledin 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
andpulse
plugin:pipewire-pulse
is enabled which provides pulseaudio serverconnection to libpulse users
pcm.!default
andctl.!default
to use pulse plugin.To work around this, change
pipewire-alsa
plugin configuration from static confto 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