maintainer-feedback requested: [Bug 258322] audio/pulseaudio: Do not restore card/device volumes by default

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 06 Sep 2021 19:53:07 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team)
<desktop@FreeBSD.org> for maintainer-feedback:
Bug 258322: audio/pulseaudio: Do not restore card/device volumes by default
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258322



--- Description ---
PulseAudio enables module-device-restore and module-card-restore, which load
and store device and card volume settings, by default. On FreeBSD, this
functionality is already handled by rc.d/mixer. Further, if PulseAudio is not
enabled on a system-wide basis, PulseAudio restores its own mixer settings when
an application needs it.

As a result, module-device-restore and module-card-restore cause a jarring
experience on FreeBSD. For example, playing a video in Firefox sometimes causes
the mixer volume to change suddenly as PulseAudio loads what it thinks were the
previous mixer settings.

This patch changes the example default.pa to not load these modules by default.
This has no affect on systems with PulseAudio already installed and configured.