summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/harddrake/sound.pm4
2 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index c5a0ba592..b0cb569c7 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,6 +1,8 @@
- draksound:
o disable PA routing when PA is disabled (#40219)
o grey PA routing & 5.1 sound if PA is disabled
+ o make sure that switch alsa-plugins-pulseaudio is installed when
+ enabling PA routing (#40533)
- handle new drivers:
o pata: pata_sch
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index 4d5288c0f..b94ae4c45 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -328,6 +328,10 @@ sub switch {
set_pulseaudio_routing($is_pulseaudio_enabled && $is_pulseaudio_routing_enabled);
set_5_1_in_pulseaudio($is_5_1_in_pulseaudio_enabled);
set_user_switching($is_user_switching);
+ if ($is_pulseaudio_routing_enabled) {
+ $in->do_pkgs->ensure_is_installed('alsa-plugins-pulseaudio', '/usr/' . (arch() =~ /x86_64/ ? 'lib64' : 'lib')
+ .'/alsa-lib/libasound_module_pcm_pulse.so2');
+ }
};
my @common = (