I couldn't find such a feature in the Pulseaudio documentation. Perhaps, I got confused in https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules /#module-always-sink and https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules /#module-suspend-on-idle
New Issue ID: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/904 ** Bug watch added: gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues #904 https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/904 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1881284 Title: Pause the music after suspend Status in pulseaudio package in Ubuntu: Incomplete Bug description: Hi, I don't know how to describe it. What I basically need is pause the media/music automatically after I come back from suspend. Let's suppose we're suspending the laptop while playing the media (Spotify, youtube) ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: gnome-shell 3.36.2-1ubuntu1~20.04.1 ProcVersionSignature: Ubuntu 5.4.0-31.35-generic 5.4.34 Uname: Linux 5.4.0-31-generic x86_64 ApportVersion: 2.20.11-0ubuntu27 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME Date: Fri May 29 18:09:52 2020 DisplayManager: gdm3 InstallationDate: Installed on 2020-05-04 (24 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) RelatedPackageVersions: mutter-common 3.36.2-1ubuntu1~20.04.1 SourcePackage: gnome-shell UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1881284/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp